Skip to content

Commit

Permalink
force string output in chkmqhealthy (ibm-messaging#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
parrobe authored and arthurbarr committed Aug 7, 2018
1 parent acbde18 commit 3a1db1a
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 3a1db1a

Please sign in to comment.