mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-18 23:59:23 +08:00
refactor
This commit is contained in:
@@ -95,6 +95,9 @@ func listExistingRemoteStorageMounts(commandEnv *CommandEnv, writer io.Writer) (
|
||||
}
|
||||
|
||||
func jsonPrintln(writer io.Writer, message proto.Message) error {
|
||||
if message == nil {
|
||||
return nil
|
||||
}
|
||||
m := jsonpb.Marshaler{
|
||||
EmitDefaults: false,
|
||||
Indent: " ",
|
||||
|
Reference in New Issue
Block a user