Skip to content

Commit

Permalink
registryctl/api/registry/blob: fix dropped test error (goharbor#19721)
Browse files Browse the repository at this point in the history
Signed-off-by: Lars Lehtonen <[email protected]>
Signed-off-by: Altynbaev Dinislam <[email protected]>
  • Loading branch information
alrs authored and Altynbaev Dinislam committed Jan 29, 2024
1 parent 69090fd commit b914fee
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 b914fee

Please sign in to comment.