Skip to content

Commit

Permalink
Merge pull request #55 from mackerelio/fix-build-error
Browse files Browse the repository at this point in the history
[nit] fix returns
  • Loading branch information
Songmu committed May 19, 2016
2 parents d3f6de9 + d45c9c0 commit 03c8180
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion alerts.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func doAlertsRetrieve(c *cli.Context) error {
alerts, err := client.FindAlerts()
logger.DieIf(err)
PrettyPrintJSON(alerts)
return
return nil
}

func doAlertsList(c *cli.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ func doRetire(c *cli.Context) error {

if !force && !prompter.YN("Retire following hosts.\n "+strings.Join(argHostIDs, "\n ")+"\nAre you sure?", true) {
logger.Log("", "retirement is canceled.")
return
return nil
}

client := newMackerel(conffile)
Expand Down

0 comments on commit 03c8180

Please sign in to comment.