Change "an key-value" to "a key-value"

This commit is contained in:
ambiamber 2022-09-09 16:21:14 -04:00 committed by Muayyad Alsadi
parent 78f8cad7c4
commit bce40c2db3

View File

@ -1030,7 +1030,7 @@ def container_to_args(compose, cnt, detached=True):
# WIP: healthchecks are still work in progress
healthcheck = cnt.get("healthcheck", None) or {}
if not is_dict(healthcheck):
raise ValueError("'healthcheck' must be an key-value mapping")
raise ValueError("'healthcheck' must be a key-value mapping")
healthcheck_disable = healthcheck.get("disable", False)
healthcheck_test = healthcheck.get("test", None)
if healthcheck_disable: