Browse Source

make error a little bit more clearer

fix https://github.com/chrislusf/seaweedfs/issues/1259
pull/1287/head
Chris Lu 5 years ago
parent
commit
d2f8e50459
  1. 2
      weed/command/mount_std.go

2
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

Loading…
Cancel
Save