spiegel_podman/pkg
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
..
annotations fix a number of godot issues 2022-03-22 13:04:35 +01:00
api libpod/runtime: switch to golang native error wrapping 2022-07-04 15:39:00 +02:00
auth pkg/auth: drop the TODO 2022-05-25 12:33:34 +02:00
autoupdate auto update: create an event 2022-05-23 14:11:29 +02:00
bindings libpod/runtime: switch to golang native error wrapping 2022-07-04 15:39:00 +02:00
channel channel: simplify implementation 2021-05-06 11:51:15 +02:00
checkpoint Add support for checkpoint image 2022-04-20 18:55:39 +01:00
copy bump go module to version 4 2022-01-18 12:47:07 +01:00
criu Fix spelling of GetCriuVersion 2022-06-27 12:57:44 +01:00
ctime golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
domain Merge pull request #14789 from saschagrunert/libpod-errors 2022-07-05 07:23:22 +00:00
env Add more unit tests 2022-05-04 08:29:54 -05:00
errorhandling libpod/runtime: switch to golang native error wrapping 2022-07-04 15:39:00 +02:00
hooks golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
inspect pkg/inspect: remove unused ImageResult type 2022-05-24 16:07:39 +02:00
k8s.io Fix spelling "read only" -> "read-only" 2022-07-02 08:37:43 +02:00
kubeutils remove unneeded k8s code 2022-03-15 14:48:08 +01:00
lookup enable gocritic linter 2022-04-26 18:12:22 +02:00
machine Merge pull request #14704 from baude/machinestopped 2022-06-30 17:58:28 +00:00
namespaces Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00
parallel bump go module to version 4 2022-01-18 12:47:07 +01:00
ps bump go module to version 4 2022-01-18 12:47:07 +01:00
rootless Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00
rootlessport go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
seccomp Spelling 2020-12-22 13:34:31 -05:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
servicereaper go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
signal Implement CatchAll and StopCatch in signal_common.go 2022-06-27 13:27:12 +01:00
specgen Docker-compose disable healthcheck properly handled 2022-07-05 08:02:22 -04:00
specgenutil Docker-compose disable healthcheck properly handled 2022-07-05 08:02:22 -04:00
systemd Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00
terminal move golang.org/x/crypto/ssh/terminal to golang.org/x/term 2022-04-22 12:40:52 +02:00
timetype enable gocritic linter 2022-04-26 18:12:22 +02:00
trust Cleanup display of trust with transports 2022-02-22 15:08:58 -05:00
util volume: new options [no]copy 2022-06-27 20:22:20 +02:00