This commit is contained in:
Chris Lu
2021-08-15 12:09:54 -07:00
parent 8f7d2d317f
commit a539d64896
3 changed files with 13 additions and 10 deletions

View File

@@ -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: " ",