Fix the text shown

This commit is contained in:
Blallo 2019-01-03 12:11:03 +01:00
parent d1223fc170
commit a8cefc993b
No known key found for this signature in database
GPG key ID: 0CBE577C9B72DC3F

View file

@ -72,7 +72,7 @@ func statusCmd(args []string) error {
} }
fmt.Printf("%s\n", prettyJSON) fmt.Printf("%s\n", prettyJSON)
case "plain": case "plain":
fmt.Printf("Buffer Length: %d\n", respJSON["status"].Size) fmt.Printf("Buffer Size: %d\n", respJSON["status"].Size)
fmt.Printf("Server Status: %s\n", respJSON["status"].Status()) fmt.Printf("Server Status: %s\n", respJSON["status"].Status())
} }
return nil return nil