mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-10 08:17:44 +02:00
make error a little bit more clearer
fix https://github.com/chrislusf/seaweedfs/issues/1259
This commit is contained in:
1 parent
5f881d2fd5
commit
d2f8e50459
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user