summaryrefslogtreecommitdiff
path: root/libpod/network
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-10-12 16:42:36 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2021-10-12 16:44:25 -0400
commit8600bce53a962cee3ff174d4b3745fa0f49afa3f (patch)
treeea7de10995bb4c6fd74bc91e2ebf8c82369d0b74 /libpod/network
parent72e87c0ca89701e76148c192c98754af305f09d1 (diff)
downloadpodman-8600bce53a962cee3ff174d4b3745fa0f49afa3f.tar.gz
podman-8600bce53a962cee3ff174d4b3745fa0f49afa3f.tar.bz2
podman-8600bce53a962cee3ff174d4b3745fa0f49afa3f.zip
codespell code
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/network')
-rw-r--r--libpod/network/cni/cni_conversion.go2
-rw-r--r--libpod/network/cni/config_test.go2
-rw-r--r--libpod/network/types/network.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/libpod/network/cni/cni_conversion.go b/libpod/network/cni/cni_conversion.go
index 93d871767..01e149114 100644
--- a/libpod/network/cni/cni_conversion.go
+++ b/libpod/network/cni/cni_conversion.go
@@ -103,7 +103,7 @@ func createNetworkFromCNIConfigList(conf *libcni.NetworkConfigList, confPath str
}
default:
- // A warning would be good but users would get this warning everytime so keep this at info level.
+ // A warning would be good but users would get this warning every time so keep this at info level.
logrus.Infof("Unsupported CNI config type %s in %s, this network can still be used but inspect or list cannot show all information",
firstPlugin.Network.Type, confPath)
}
diff --git a/libpod/network/cni/config_test.go b/libpod/network/cni/config_test.go
index 5b0feb859..5181cd900 100644
--- a/libpod/network/cni/config_test.go
+++ b/libpod/network/cni/config_test.go
@@ -1313,7 +1313,7 @@ var _ = Describe("Config", func() {
Expect(networks).To(HaveLen(0))
})
- It("crate bridge network with used interface name", func() {
+ It("create bridge network with used interface name", func() {
network := types.Network{
NetworkInterface: "cni-podman9",
}
diff --git a/libpod/network/types/network.go b/libpod/network/types/network.go
index 2fe4f3da2..657c1ca6a 100644
--- a/libpod/network/types/network.go
+++ b/libpod/network/types/network.go
@@ -137,7 +137,7 @@ type NetInterface struct {
MacAddress net.HardwareAddr `json:"mac_address"`
}
-// NetAddress contains the subnet and gatway.
+// NetAddress contains the subnet and gateway.
type NetAddress struct {
// Subnet of this NetAddress. Note that the subnet contains the
// actual ip of the net interface and not the network address.