diff --git a/cli/app/list.go b/cli/app/list.go index 4d93abb48..081913dc8 100644 --- a/cli/app/list.go +++ b/cli/app/list.go @@ -207,9 +207,9 @@ can take some time. } allStats[app.Server] = stats } - if (internal.MachineReadable) { + if internal.MachineReadable { jsonstring, err := json.Marshal(allStats) - if (err != nil) { + if err != nil { logrus.Fatal(err) } else { fmt.Println(string(jsonstring))