[go: nahoru, domu]

Skip to content

Commit

Permalink
registryctl/api/registry/blob: fix dropped test error
Browse files Browse the repository at this point in the history
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
  • Loading branch information
alrs committed Dec 15, 2023
1 parent 5f828ea commit a4b1a4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/registryctl/api/registry/blob/blob_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a4b1a4f

Please sign in to comment.