From 49c5a068ad0e58bdfc488288f757dc2c3d271874 Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Tue, 9 Jan 2024 04:45:24 -0800 Subject: [PATCH] registryctl/api/registry/blob: fix dropped test error (#19721) Signed-off-by: Lars Lehtonen --- src/registryctl/api/registry/blob/blob_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/registryctl/api/registry/blob/blob_test.go b/src/registryctl/api/registry/blob/blob_test.go index 67f84411d..7062685e1 100644 --- a/src/registryctl/api/registry/blob/blob_test.go +++ b/src/registryctl/api/registry/blob/blob_test.go @@ -42,6 +42,9 @@ func TestDeletionBlob(t *testing.T) { } req, err := http.NewRequest(http.MethodDelete, "", nil) + if err != nil { + t.Fatalf("failed to create new http request: %v", err) + } varMap := make(map[string]string, 1) varMap["reference"] = test.GetKeys(randomLayers1)[0].String() req = mux.SetURLVars(req, varMap)