Skip to content

Commit

Permalink
Fix incorrect test HTTP method (opencontainers#331)
Browse files Browse the repository at this point in the history
Change HTTP method from GET to HEAD to match test's description.

Signed-off-by: Graham Miln <[email protected]>
Co-authored-by: Josh Dolitsky <[email protected]>
  • Loading branch information
2 people authored and sudo-bmitch committed Aug 18, 2023
1 parent 4b786d9 commit 9be5be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conformance/01_pull_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ var test01Pull = func() {
g.Specify("HEAD request to manifest path (tag) should yield 200 response", func() {
SkipIfDisabled(pull)
Expect(tag).ToNot(BeEmpty())
req := client.NewRequest(reggie.GET, "/v2/<name>/manifests/<reference>", reggie.WithReference(tag)).
req := client.NewRequest(reggie.HEAD, "/v2/<name>/manifests/<reference>", reggie.WithReference(tag)).
SetHeader("Accept", "application/vnd.oci.image.manifest.v1+json")
resp, err := client.Do(req)
Expect(err).To(BeNil())
Expand Down

0 comments on commit 9be5be1

Please sign in to comment.