From 77ef2b9b126648ff21cc018017c5f2968d60a4fa Mon Sep 17 00:00:00 2001 From: Justin Kolberg Date: Tue, 18 May 2021 13:11:58 -0700 Subject: [PATCH] RandomUUIDV4 should take ref to testing.TB Signed-off-by: Justin Kolberg --- 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 e0ebc73318..f63937b248 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)