Skip to content

Commit

Permalink
improve doc
Browse files Browse the repository at this point in the history
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
  • Loading branch information
Wwwsylvia committed Aug 1, 2023
1 parent c173ce6 commit f536a32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions registry/remote/warning.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ type WarningValue struct {

// Warning contains the value of the warning header and other information
// related to the warning.
//
// References:
// - https://github.com/opencontainers/distribution-spec/blob/v1.1.0-rc3/spec.md#warnings
// - https://www.rfc-editor.org/rfc/rfc7234#section-5.5
type Warning struct {
// Value is the value of the warning header.
Value WarningValue
Expand Down

0 comments on commit f536a32

Please sign in to comment.