Skip to content

Commit

Permalink
Conformance: remove referrers digest header check (#492)
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon Mitchell <[email protected]>
  • Loading branch information
sudo-bmitch authored Nov 30, 2023
1 parent 3ec8a56 commit f3b894e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions conformance/03_discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,6 @@ var test03ContentDiscovery = func() {
Expect(err).To(BeNil())
Expect(resp.StatusCode()).To(Equal(http.StatusOK))
Expect(resp.Header().Get("Content-Type")).To(Equal("application/vnd.oci.image.index.v1+json"))
if h := resp.Header().Get("Docker-Content-Digest"); h != "" {
Expect(h).To(Equal(configs[4].Digest))
}

var index index
err = json.Unmarshal(resp.Body(), &index)
Expand All @@ -332,9 +329,6 @@ var test03ContentDiscovery = func() {
Expect(err).To(BeNil())
Expect(resp.StatusCode()).To(Equal(http.StatusOK))
Expect(resp.Header().Get("Content-Type")).To(Equal("application/vnd.oci.image.index.v1+json"))
if h := resp.Header().Get("Docker-Content-Digest"); h != "" {
Expect(h).To(Equal(configs[4].Digest))
}

var index index
err = json.Unmarshal(resp.Body(), &index)
Expand Down

0 comments on commit f3b894e

Please sign in to comment.