mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00
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:
@ -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())
|
||||
|
Reference in New Issue
Block a user