registryctl/api/registry/blob: fix dropped test error (#19721)

Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
This commit is contained in:
Lars Lehtonen 2024-01-09 04:45:24 -08:00 committed by GitHub
parent 9e5efc99e8
commit 49c5a068ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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)