From d2f8e5045952f00ef75e4af954db649ff8b7af85 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 3 Apr 2020 00:24:09 -0700 Subject: [PATCH] make error a little bit more clearer fix https://github.com/chrislusf/seaweedfs/issues/1259 --- weed/command/mount_std.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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