spiegel_podman/pkg/specgen
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
..
generate Docker-compose disable healthcheck properly handled 2022-07-05 08:02:22 -04:00
config_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
container_validate.go pkg/specgen: parse default network mode on server 2022-06-01 17:13:30 +02:00
namespaces.go pkg/specgen: parse default network mode on server 2022-06-01 17:13:30 +02:00
namespaces_test.go pkg/specgen: parse default network mode on server 2022-06-01 17:13:30 +02:00
pod_validate.go bump go module to version 4 2022-01-18 12:47:07 +01:00
podspecgen.go podman pod create --shm-size 2022-06-20 10:25:00 -04:00
specgen.go specgen,run: support running container from valid manifest list 2022-07-05 12:39:37 +05:30
specgen_test.go fix test 2021-10-11 17:41:58 +08:00
volumes.go Fix spelling "read only" -> "read-only" 2022-07-02 08:37:43 +02:00
winpath.go enable gocritic linter 2022-04-26 18:12:22 +02:00
winpath_linux.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath_unsupported.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath_windows.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00