Skip to content

Commit 490440d

Browse files
authored
Update curationaudit.go
1 parent 59a3a7e commit 490440d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

commands/curation/curationaudit.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -844,9 +844,6 @@ func (nc *treeAnalyzer) fetchNodeStatus(node xrayUtils.GraphNode, p *sync.Map) e
844844
if scope != "" {
845845
name = scope + "/" + name
846846
}
847-
if nc.tech == techutils.Docker {
848-
nc.httpClientDetails.Headers["Accept"] = "application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json"
849-
}
850847
for _, packageUrl := range packageUrls {
851848
resp, _, err := nc.rtManager.Client().SendHead(packageUrl, &nc.httpClientDetails)
852849
if err != nil {

0 commit comments

Comments
 (0)