Skip to content

Commit

Permalink
set rfeferrers artifactType with actual type
Browse files Browse the repository at this point in the history
Signed-off-by: yminer <[email protected]>
  • Loading branch information
MinerYang committed Aug 31, 2023
1 parent 69bc15f commit 22b249c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/registry/referrers.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (r *referrersHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
at := req.URL.Query().Get("artifactType")
var filter string
if at != "" {
filter = "artifactType"
filter = at

Check warning on line 57 in src/server/registry/referrers.go

View check run for this annotation

Codecov / codecov/patch

src/server/registry/referrers.go#L57

Added line #L57 was not covered by tests
}

// Check if the reference is a valid digest
Expand Down

0 comments on commit 22b249c

Please sign in to comment.