Skip to content

Commit

Permalink
resolved
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoxuan Wang <[email protected]>
  • Loading branch information
wangxiaoxuan273 committed Jan 19, 2024
1 parent 52a4eea commit b2282ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oras/internal/option/packer.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func parseAnnotationFlags(flags []string, annotations map[string]map[string]stri
key, val, success := strings.Cut(anno, "=")
if !success {
return &oerrors.Error{
Err: fmt.Errorf("%w", errAnnotationFormat),
Err: errAnnotationFormat,
Recommendation: `Please use the correct format in the flag: --annotation "key=value"`,
}
}
Expand Down

0 comments on commit b2282ba

Please sign in to comment.