Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
Signed-off-by: Lixia (Sylvia) Lei <[email protected]>
  • Loading branch information
Wwwsylvia committed Aug 2, 2023
1 parent 6468adb commit 79610ac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions registry/remote/warning.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,9 @@ func handleWarningHeaders(headers []string, handleWarning func(Warning)) {
for _, h := range headers {
if value, err := parseWarningHeader(h); err == nil {
// ignore warnings in unexpected formats
warning := Warning{
handleWarning(Warning{
WarningValue: value,
}
handleWarning(warning)
})
}
}
}

0 comments on commit 79610ac

Please sign in to comment.