Skip to content

Commit

Permalink
Fix incorrect test HTTP method (#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 <graham.miln@miln.eu>
Co-authored-by: Josh Dolitsky <josh@dolit.ski>
  • Loading branch information
grahammiln and jdolitsky committed Jun 21, 2023
1 parent 73fe777 commit 135780a
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 135780a

Please sign in to comment.