diff options
author | Brent Baude <bbaude@redhat.com> | 2021-08-12 12:55:07 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2021-08-12 12:57:15 -0500 |
commit | bef26f2582733c23957a863bc0769a618ab773a8 (patch) | |
tree | 8c912ac25388be644b04082d09ac73f75768c67e /pkg/specgen | |
parent | 94886d4abad7787cb920614ed26955ca36b13846 (diff) | |
download | podman-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 'pkg/specgen')
-rw-r--r-- | pkg/specgen/specgen.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgen/specgen.go b/pkg/specgen/specgen.go index fc647227e..2252ef405 100644 --- a/pkg/specgen/specgen.go +++ b/pkg/specgen/specgen.go @@ -184,7 +184,7 @@ type ContainerBasicConfig struct { // Optional. EnvSecrets map[string]string `json:"secret_env,omitempty"` // InitContainerType describes if this container is an init container - // and if so, what type: always or oneshot + // and if so, what type: always or once InitContainerType string `json:"init_container_type"` // Personality allows users to configure different execution domains. // Execution domains tell Linux how to map signal numbers into signal actions. |