mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-01-19 06:53:32 +08:00
make error a little bit more clearer
fix https://github.com/chrislusf/seaweedfs/issues/1259
This commit is contained in:
parent
5f881d2fd5
commit
d2f8e50459
@ -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…
Reference in New Issue
Block a user