mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-08 13:07:45 +01:00
refactor
This commit is contained in:
1 parent
8f7d2d317f
commit
a539d64896
3 files changed
+13
-10
No files matched your search
@@ -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