podman/pkg/specgenutil
Jake Correnti 5633ef1d15 Docker-compose disable healthcheck properly handled
Previously, if a container had healthchecks disabled in the
docker-compose.yml file and the user did a `podman inspect <container>`,
they would have an incorrect output:

```
"Healthcheck":{
   "Test":[
      "CMD-SHELL",
      "NONE"
   ],
   "Interval":30000000000,
   "Timeout":30000000000,
   "Retries":3
}
```

After a quick change, the correct output is now the result:
```
"Healthcheck":{
   "Test":[
      "NONE"
   ]
}
```

Additionally, I extracted the hard-coded strings that were used for
comparisons into constants in `libpod/define` to prevent a similar issue
from recurring.

Closes: #14493

Signed-off-by: Jake Correnti <jcorrenti13@gmail.com>
2022-07-05 08:02:22 -04:00
..
createparse.go Support setting image_volume_mode in containers.conf 2022-05-26 14:16:26 -04:00
ports.go InfraContainer Rework 2021-08-26 16:05:16 -04:00
ports_test.go Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00
specgen.go Docker-compose disable healthcheck properly handled 2022-07-05 08:02:22 -04:00
specgenutil_test.go specgen: fix parsing of cgroup devices rule 2022-07-01 09:28:18 +02:00
util.go Add support for passing --volumepath 2022-04-23 08:03:36 -04:00
util_test.go Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00
volumes.go Fix spelling "read only" -> "read-only" 2022-07-02 08:37:43 +02:00
volumes_test.go Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00