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>
This commit is contained in:
Paul Holzinger
2022-12-12 19:05:19 +01:00
parent d6c2fa6452
commit 4fa65ad0dc
19 changed files with 62 additions and 67 deletions

View File

@ -984,7 +984,7 @@ func (c *Container) completeNetworkSetup() error {
return err
}
state := c.state
// collect any dns servers that cni tells us to use (dnsname)
// collect any dns servers that the network backend tells us to use
for _, status := range c.getNetworkStatus() {
for _, server := range status.DNSServerIPs {
nameservers = append(nameservers, server.String())