Skip to content

Commit

Permalink
force string output in chkmqhealthy (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
parrobe authored and arthurbarr committed Aug 2, 2018
1 parent c11c0a2 commit 80384a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/chkmqhealthy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func queueManagerHealthy() (bool, error) {
fmt.Println(err)
return false, err
}
fmt.Println(out)
fmt.Printf("%s", out)
if !strings.Contains(string(out), "(RUNNING)") {
return false, nil
}
Expand Down

0 comments on commit 80384a6

Please sign in to comment.