Skip to content

Commit

Permalink
golint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetb committed Aug 22, 2016
1 parent 4f3b193 commit 2c9d9be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions replicationstatus.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func replicationStatus(c *cli.Context) {

var f func(_ ReplicationStatusResponse) error
if json {
f = printAsJson
f = printAsJSON
} else {
f = printAsTable
}
Expand All @@ -31,7 +31,7 @@ func replicationStatus(c *cli.Context) {
}
}

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

0 comments on commit 2c9d9be

Please sign in to comment.