summaryrefslogtreecommitdiff
path: root/test/e2e/run_staticip_test.go
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2022-09-13 15:13:09 -0700
committerKir Kolyshkin <kolyshkin@gmail.com>2022-09-13 16:26:26 -0700
commit75740be39541296d379e34902e11ba49e96a1867 (patch)
tree9b4a5a807803d399787d0466221f25dab6240064 /test/e2e/run_staticip_test.go
parentc64388728f5efec2658cf9097dbe15126f30753e (diff)
downloadpodman-75740be39541296d379e34902e11ba49e96a1867.tar.gz
podman-75740be39541296d379e34902e11ba49e96a1867.tar.bz2
podman-75740be39541296d379e34902e11ba49e96a1867.zip
all: stop using deprecated GenerateNonCryptoID
In view of https://github.com/containers/storage/pull/1337, do this: for f in $(git grep -l stringid.GenerateNonCryptoID | grep -v '^vendor/'); do sed -i 's/stringid.GenerateNonCryptoID/stringid.GenerateRandomID/g' $f; done Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'test/e2e/run_staticip_test.go')
-rw-r--r--test/e2e/run_staticip_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_staticip_test.go b/test/e2e/run_staticip_test.go
index 12783cd29..057fbf775 100644
--- a/test/e2e/run_staticip_test.go
+++ b/test/e2e/run_staticip_test.go
@@ -66,7 +66,7 @@ var _ = Describe("Podman run with --ip flag", func() {
})
It("Podman run with specified static IPv6 has correct IP", func() {
- netName := "ipv6-" + stringid.GenerateNonCryptoID()
+ netName := "ipv6-" + stringid.GenerateRandomID()
ipv6 := "fd46:db93:aa76:ac37::10"
net := podmanTest.Podman([]string{"network", "create", "--subnet", "fd46:db93:aa76:ac37::/64", netName})
net.WaitWithDefaultTimeout()