summaryrefslogtreecommitdiff
path: root/libpod/container_config.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2021-08-12 12:55:07 -0500
committerBrent Baude <bbaude@redhat.com>2021-08-12 12:57:15 -0500
commitbef26f2582733c23957a863bc0769a618ab773a8 (patch)
tree8c912ac25388be644b04082d09ac73f75768c67e /libpod/container_config.go
parent94886d4abad7787cb920614ed26955ca36b13846 (diff)
downloadpodman-bef26f2582733c23957a863bc0769a618ab773a8.tar.gz
podman-bef26f2582733c23957a863bc0769a618ab773a8.tar.bz2
podman-bef26f2582733c23957a863bc0769a618ab773a8.zip
rename oneshot initcontainers to once
after the init containers pr merged, it was suggested to use `once` instead of `oneshot` containers as it is more aligned with other terminiology used similarily. [NO TESTS NEEDED] Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'libpod/container_config.go')
-rw-r--r--libpod/container_config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_config.go b/libpod/container_config.go
index 72a969fe6..e15030c15 100644
--- a/libpod/container_config.go
+++ b/libpod/container_config.go
@@ -376,6 +376,6 @@ type ContainerMiscConfig struct {
// EnvSecrets are secrets that are set as environment variables
EnvSecrets map[string]*secrets.Secret `json:"secret_env,omitempty"`
// InitContainerType specifies if the container is an initcontainer
- // and if so, what type: always or oneshot are possible non-nil entries
+ // and if so, what type: always or once are possible non-nil entries
InitContainerType string `json:"init_container_type,omitempty"`
}