mirror of
https://github.com/goharbor/harbor
synced 2025-04-17 18:07:30 +00:00
registryctl/api/registry/blob: fix dropped test error (#19721)
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
This commit is contained in:
parent
9e5efc99e8
commit
49c5a068ad
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user