summaryrefslogtreecommitdiff
path: root/libpod/container_internal_linux.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-08-11 10:09:05 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2021-08-11 16:41:45 -0400
commit404488a0879c84de523adeacb78c6b898a7e52c8 (patch)
tree5a5c931a2353692ab108b0ee7a9c4b5ee9b198d6 /libpod/container_internal_linux.go
parent7e5a9fdbc0131a2715e9a6d5612e65fb7323c50b (diff)
downloadpodman-404488a0879c84de523adeacb78c6b898a7e52c8.tar.gz
podman-404488a0879c84de523adeacb78c6b898a7e52c8.tar.bz2
podman-404488a0879c84de523adeacb78c6b898a7e52c8.zip
Run codespell to fix spelling
[NO TESTS NEEDED] Just fixing spelling. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/container_internal_linux.go')
-rw-r--r--libpod/container_internal_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go
index 6d2f7bddc..f21aebb09 100644
--- a/libpod/container_internal_linux.go
+++ b/libpod/container_internal_linux.go
@@ -1782,7 +1782,7 @@ func (c *Container) generateResolvConf() (string, error) {
cniResponse := c.state.NetworkStatus
for _, i := range cniResponse {
for _, ip := range i.IPs {
- // Note: only using To16() does not work since it also returns a vaild ip for ipv4
+ // Note: only using To16() does not work since it also returns a valid ip for ipv4
if ip.Address.IP.To4() == nil && ip.Address.IP.To16() != nil {
ipv6 = true
}