aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-02-25 23:59:30 -0800
committerChris Lu <chris.lu@gmail.com>2020-02-25 23:59:30 -0800
commit543cf1c80e222f3ff4be5fcfa88d2a7e9c868de2 (patch)
tree6e6ab4f9417e07d07883e5a94dd4573b3f488f55 /weed/command/mount_std.go
parentb1f377f8227e97a4fae0db6d38cd045eddba38f6 (diff)
downloadseaweedfs-543cf1c80e222f3ff4be5fcfa88d2a7e9c868de2.tar.xz
seaweedfs-543cf1c80e222f3ff4be5fcfa88d2a7e9c868de2.zip
fix compilation error
Diffstat (limited to 'weed/command/mount_std.go')
-rw-r--r--weed/command/mount_std.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 1e6444ae1..e26b7c3f5 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -142,14 +142,12 @@ func RunMount(filer, filerMountRootPath, dir, collection, replication, dataCente
}
// try to connect to filer, filerBucketsPath may be useful later
- filerBucketsPath := "/buckets"
grpcDialOption := security.LoadClientTLS(util.GetViper(), "grpc.client")
err = withFilerClient(filerGrpcAddress, grpcDialOption, func(client filer_pb.SeaweedFilerClient) error {
- resp, err := client.GetFilerConfiguration(context.Background(), &filer_pb.GetFilerConfigurationRequest{})
+ _, err := client.GetFilerConfiguration(context.Background(), &filer_pb.GetFilerConfigurationRequest{})
if err != nil {
return fmt.Errorf("get filer %s configuration: %v", filerGrpcAddress, err)
}
- filerBucketsPath = resp.DirBuckets
return nil
})
if err != nil {