mirror of https://github.com/containers/podman.git
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>
This commit is contained in:
parent
12f173f473
commit
ac23ff55b8
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue