Skip to content

Commit 2c9d9be

Browse files
committed
golint fix
1 parent 4f3b193 commit 2c9d9be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

replicationstatus.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func replicationStatus(c *cli.Context) {
2222

2323
var f func(_ ReplicationStatusResponse) error
2424
if json {
25-
f = printAsJson
25+
f = printAsJSON
2626
} else {
2727
f = printAsTable
2828
}
@@ -31,7 +31,7 @@ func replicationStatus(c *cli.Context) {
3131
}
3232
}
3333

34-
func printAsJson(r ReplicationStatusResponse) error {
34+
func printAsJSON(r ReplicationStatusResponse) error {
3535
b, err := json.MarshalIndent(r.Statuses, "", " ")
3636
if err != nil {
3737
return fmt.Errorf("failed to format as json: %+v", err)

0 commit comments

Comments
 (0)