From 745f38f33efe81381a56ab2e1e79d41984b81df4 Mon Sep 17 00:00:00 2001 From: Justin Kolberg Date: Tue, 18 May 2021 13:16:05 -0700 Subject: [PATCH] Revert "RandomUUIDV4 should take ref to testing.TB" This reverts commit 77ef2b9b126648ff21cc018017c5f2968d60a4fa. --- testing/testutil/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/testutil/util.go b/testing/testutil/util.go index f63937b248..e0ebc73318 100644 --- a/testing/testutil/util.go +++ b/testing/testutil/util.go @@ -49,7 +49,7 @@ func CommandPath(s string, p ...string) string { // RandomUUIDV4 takes a testing.TB and will attempt to generate a random // Version 4 UUID. If an error is returned, a fatal testing error will occur. -func RandomUUIDV4(tb *testing.TB) uuid.UUID { +func RandomUUIDV4(tb testing.TB) uuid.UUID { bytes, err := uuid.NewRandom() if err != nil { tb.Fatalf("failed to generate uuid: %s", err)