From 75740be39541296d379e34902e11ba49e96a1867 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Tue, 13 Sep 2022 15:13:09 -0700 Subject: 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 --- test/e2e/diff_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/e2e/diff_test.go') diff --git a/test/e2e/diff_test.go b/test/e2e/diff_test.go index a1f57f41b..c7f235e29 100644 --- a/test/e2e/diff_test.go +++ b/test/e2e/diff_test.go @@ -93,9 +93,9 @@ var _ = Describe("Podman diff", func() { }) It("podman image diff", func() { - file1 := "/" + stringid.GenerateNonCryptoID() - file2 := "/" + stringid.GenerateNonCryptoID() - file3 := "/" + stringid.GenerateNonCryptoID() + file1 := "/" + stringid.GenerateRandomID() + file2 := "/" + stringid.GenerateRandomID() + file3 := "/" + stringid.GenerateRandomID() // Create container image with the files containerfile := fmt.Sprintf(` @@ -152,8 +152,8 @@ RUN echo test }) It("podman diff container and image with same name", func() { - imagefile := "/" + stringid.GenerateNonCryptoID() - confile := "/" + stringid.GenerateNonCryptoID() + imagefile := "/" + stringid.GenerateRandomID() + confile := "/" + stringid.GenerateRandomID() // Create container image with the files containerfile := fmt.Sprintf(` -- cgit v1.2.3-54-g00ecf