Skip to content

Commit

Permalink
to prevent ".,"
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Singh <116020663+1Shubham7@users.noreply.github.com>
  • Loading branch information
1Shubham7 authored Jul 23, 2023
1 parent 6e42dda commit addd92f
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 @@ -99,7 +99,7 @@ func (opts *Packer) LoadManifestAnnotations() (annotations map[string]map[string
}
if opts.AnnotationFilePath != "" {
if err = decodeJSON(opts.AnnotationFilePath, &annotations); err != nil {
return nil, fmt.Errorf("error loading manifest annotations from file %s: %w, " +
return nil, fmt.Errorf("error loading manifest annotations from file %s: %w " +
"refer to the document at https://oras.land/docs/how_to_guides/manifest_annotations", opts.AnnotationFilePath, err)
}

Expand Down

0 comments on commit addd92f

Please sign in to comment.