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 <[email protected]>
  • Loading branch information
alrs authored and chlins committed Jan 4, 2024
1 parent aefe1bc commit e7eb079
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 e7eb079

Please sign in to comment.