diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-12-12 19:05:19 +0100 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2022-12-16 14:20:14 +0100 |
commit | 4fa65ad0dc568caf502a7435bfbd94c4ae3782af (patch) | |
tree | 2f759ad6b9f6d67bf93f4c662f15e38085057d6b /libpod/container_inspect.go | |
parent | d6c2fa64522cbe11de539a95bdd0134083a6e49a (diff) |
libpod: remove CNI word were no longer applicable
We should have done this much earlier, most of the times CNI networks
just mean networks so I changed this and also fixed some function
names. This should make it more clear what actually refers to CNI and
what is just general network backend stuff.
[NO NEW TESTS NEEDED]
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'libpod/container_inspect.go')
-rw-r--r-- | libpod/container_inspect.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_inspect.go b/libpod/container_inspect.go index fbb6dce7c..e9e0a8bc2 100644 --- a/libpod/container_inspect.go +++ b/libpod/container_inspect.go @@ -552,7 +552,7 @@ func (c *Container) generateInspectContainerHostConfig(ctrSpec *spec.Spec, named hostConfig.NetworkMode = networkMode // Port bindings. - // Only populate if we're using CNI to configure the network. + // Only populate if we are creating the network namespace to configure the network. if c.config.CreateNetNS { hostConfig.PortBindings = makeInspectPortBindings(c.config.PortMappings) } else { |