diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-09-29 13:49:17 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-09-29 15:26:45 -0400 |
commit | ac23ff55b8d944ff459e153ab2fbea3f0defcdf1 (patch) | |
tree | b516d2a6ededb060b17b070f6d51718526b320fa /pkg/specgen/generate | |
parent | 12f173f4732d50a85bf4875807597d2fd0e92cc0 (diff) | |
download | podman-ac23ff55b8d944ff459e153ab2fbea3f0defcdf1.tar.gz podman-ac23ff55b8d944ff459e153ab2fbea3f0defcdf1.tar.bz2 podman-ac23ff55b8d944ff459e153ab2fbea3f0defcdf1.zip |
We already set container=podman environment variable
Only need to set container, no need for containers
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/specgen/generate')
-rw-r--r-- | pkg/specgen/generate/container.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/specgen/generate/container.go b/pkg/specgen/generate/container.go index 147ebd61b..927e6b7fa 100644 --- a/pkg/specgen/generate/container.go +++ b/pkg/specgen/generate/container.go @@ -75,8 +75,8 @@ func CompleteSpec(ctx context.Context, r *libpod.Runtime, s *specgen.SpecGenerat if err != nil { return nil, errors.Wrap(err, "error parsing fields in containers.conf") } - if defaultEnvs["containers"] == "" { - defaultEnvs["containers"] = "podman" + if defaultEnvs["container"] == "" { + defaultEnvs["container"] = "podman" } var envs map[string]string |