Change-Id: I9ebcf49e9e8ac76beb037779ad02ac6020169849
Signed-off-by: Li Yi <denverdino@gmail.com>
| ... | ... |
@@ -253,6 +253,8 @@ func getProbe(c *container.Container) probe {
|
| 253 | 253 |
return &cmdProbe{shell: false}
|
| 254 | 254 |
case "CMD-SHELL": |
| 255 | 255 |
return &cmdProbe{shell: true}
|
| 256 |
+ case "NONE": |
|
| 257 |
+ return nil |
|
| 256 | 258 |
default: |
| 257 | 259 |
logrus.Warnf("Unknown healthcheck type '%s' (expected 'CMD') in container %s", config.Test[0], c.ID)
|
| 258 | 260 |
return nil |