summaryrefslogtreecommitdiff
path: root/test/e2e/run_networking_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-05-19 12:51:12 -0400
committerGitHub <noreply@github.com>2022-05-19 12:51:12 -0400
commit913caaa9b1de2b63692c9bae15120208194c9eb3 (patch)
treeb6b446de9365f1972600484e08322548ffec9b31 /test/e2e/run_networking_test.go
parent948c5e915aec709beb4e171a72c7e54504889baf (diff)
parentb22143267bfd114d23ac25b08b71496f79092a91 (diff)
downloadpodman-913caaa9b1de2b63692c9bae15120208194c9eb3.tar.gz
podman-913caaa9b1de2b63692c9bae15120208194c9eb3.tar.bz2
podman-913caaa9b1de2b63692c9bae15120208194c9eb3.zip
Merge pull request #14288 from vrothberg/linters
linter: enable unconvert linter
Diffstat (limited to 'test/e2e/run_networking_test.go')
-rw-r--r--test/e2e/run_networking_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_networking_test.go b/test/e2e/run_networking_test.go
index c9990b70f..3b32b4b82 100644
--- a/test/e2e/run_networking_test.go
+++ b/test/e2e/run_networking_test.go
@@ -731,7 +731,7 @@ EXPOSE 2004-2005/tcp`, ALPINE)
linkAttr.Name = name
m, err := net.ParseMAC(mac)
Expect(err).To(BeNil())
- linkAttr.HardwareAddr = net.HardwareAddr(m)
+ linkAttr.HardwareAddr = m
eth := &netlink.Dummy{LinkAttrs: linkAttr}
err = netlink.LinkAdd(eth)
Expect(err).To(BeNil())