Fix liveness probe for miqm (#308)

* Fix liveness probe for miqm
This commit is contained in:
Stephen Marshall
2019-05-02 10:16:42 +01:00
committed by GitHub
parent 6c72c894f7
commit 3fb2d3fe61

View File

@@ -41,7 +41,7 @@ func queueManagerHealthy() (bool, error) {
return false, err
}
fmt.Printf("%s", out)
if !strings.Contains(string(out), "(RUNNING)") && !strings.Contains(string(out), "(RUNNING AS STANDBY)") {
if !strings.Contains(string(out), "(RUNNING)") && !strings.Contains(string(out), "(RUNNING AS STANDBY)") && !strings.Contains(string(out), "(STARTING)") {
return false, nil
}
return true, nil