diff options
author | Paul Holzinger <pholzing@redhat.com> | 2021-12-07 23:04:47 +0100 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2021-12-14 15:23:39 +0100 |
commit | 9ce6b64133bc37433efac391bcaf9234c3890fc5 (patch) | |
tree | 92f8be84f1799230083d3490b52956ce2c01f4f1 /pkg/specgen/generate/container_create.go | |
parent | 4e8ad039cee5debcc1afe93a455cd8a25e88d16b (diff) | |
download | podman-9ce6b64133bc37433efac391bcaf9234c3890fc5.tar.gz podman-9ce6b64133bc37433efac391bcaf9234c3890fc5.tar.bz2 podman-9ce6b64133bc37433efac391bcaf9234c3890fc5.zip |
network db: add new strucutre to container create
Make sure we create new containers in the db with the correct structure.
Also remove some unneeded code for alias handling. We no longer need this
functions.
The specgen format has not been changed for now.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg/specgen/generate/container_create.go')
-rw-r--r-- | pkg/specgen/generate/container_create.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/specgen/generate/container_create.go b/pkg/specgen/generate/container_create.go index df5d2e8ff..331c9393a 100644 --- a/pkg/specgen/generate/container_create.go +++ b/pkg/specgen/generate/container_create.go @@ -160,10 +160,6 @@ func MakeContainer(ctx context.Context, rt *libpod.Runtime, s *specgen.SpecGener } options = append(options, opts...) - if len(s.Aliases) > 0 { - options = append(options, libpod.WithNetworkAliases(s.Aliases)) - } - if containerType := s.InitContainerType; len(containerType) > 0 { options = append(options, libpod.WithInitCtrType(containerType)) } |