Commit 9818f7a
authored
Fix panic when checking service status (elastic#1078)
There seems to be a race condition since a container starts running,
till its state reports any health information. During this time the
value obtained from the API is nil. Don't try to get the status from
the healtcheck if that's the case.1 parent 85b6995 commit 9818f7a
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
225 | 229 | | |
226 | 230 | | |
227 | 231 | | |
| |||
0 commit comments