aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-04-03 00:24:09 -0700
committerChris Lu <chris.lu@gmail.com>2020-04-03 00:24:09 -0700
commitd2f8e5045952f00ef75e4af954db649ff8b7af85 (patch)
tree6fa98877b4715a532540bbe37fa85a8ce61e2d3e
parent5f881d2fd52dd08cc735b42e3e6f6775ea7dc1a9 (diff)
downloadseaweedfs-d2f8e5045952f00ef75e4af954db649ff8b7af85.tar.xz
seaweedfs-d2f8e5045952f00ef75e4af954db649ff8b7af85.zip
make error a little bit more clearer
fix https://github.com/chrislusf/seaweedfs/issues/1259
-rw-r--r--weed/command/mount_std.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index eea3a78ab..148540dec 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -52,7 +52,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
err = pb.WithGrpcFilerClient(filerGrpcAddress, grpcDialOption, func(client filer_pb.SeaweedFilerClient) error {
resp, err := client.GetFilerConfiguration(context.Background(), &filer_pb.GetFilerConfigurationRequest{})
if err != nil {
- return fmt.Errorf("get filer %s configuration: %v", filerGrpcAddress, err)
+ return fmt.Errorf("get filer grpc address %s configuration: %v", filerGrpcAddress, err)
}
cipher = resp.Cipher
return nil