Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: improving error log for oras push and oras attach when the annotation file is invalid #1026

Merged
merged 13 commits into from
Jul 27, 2023
Prev Previous commit
Next Next commit
removed extra gap
Signed-off-by: Shubham Singh <116020663+1Shubham7@users.noreply.github.com>
  • Loading branch information
1Shubham7 authored Jul 24, 2023
commit 0df604fecdc2233e4d1403f0596750f22995ef38
1 change: 0 additions & 1 deletion cmd/oras/internal/option/packer.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ func (opts *Packer) LoadManifestAnnotations() (annotations map[string]map[string
return nil, fmt.Errorf("failed to load annotations from %s: %w" +
docLink, opts.AnnotationFilePath, err)
}

}
if len(opts.ManifestAnnotations) != 0 {
annotations = make(map[string]map[string]string)
Expand Down