forked from TrueCloudLab/distribution
Fix manifest API unit tests
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
This commit is contained in:
parent
3a1220de01
commit
3ea0d70896
1 changed files with 2 additions and 2 deletions
|
@ -1681,9 +1681,9 @@ func testManifestDelete(t *testing.T, env *testEnv, args manifestArgs) {
|
||||||
|
|
||||||
// --------------------
|
// --------------------
|
||||||
// Uupload manifest by tag
|
// Uupload manifest by tag
|
||||||
tag := signedManifest.Tag
|
tag := "atag"
|
||||||
manifestTagURL, err := env.builder.BuildManifestURL(imageName, tag)
|
manifestTagURL, err := env.builder.BuildManifestURL(imageName, tag)
|
||||||
resp = putManifest(t, "putting signed manifest by tag", manifestTagURL, signedManifest)
|
resp = putManifest(t, "putting signed manifest by tag", manifestTagURL, args.mediaType, manifest)
|
||||||
checkResponse(t, "putting signed manifest by tag", resp, http.StatusCreated)
|
checkResponse(t, "putting signed manifest by tag", resp, http.StatusCreated)
|
||||||
checkHeaders(t, resp, http.Header{
|
checkHeaders(t, resp, http.Header{
|
||||||
"Location": []string{manifestDigestURL},
|
"Location": []string{manifestDigestURL},
|
||||||
|
|
Loading…
Reference in a new issue