Skip to content

Commit ca0a69c

Browse files
authoredJul 8, 2020
Merge pull request operator-framework#380 from estroz/chore/add-annotations-json-tags
pkg/lib/bundle/generate.go: add JSON tag to AnnotationMetadata
2 parents 0d9adc3 + d796b0d commit ca0a69c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎pkg/lib/bundle/generate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const (
3333
)
3434

3535
type AnnotationMetadata struct {
36-
Annotations map[string]string `yaml:"annotations"`
36+
Annotations map[string]string `yaml:"annotations" json:"annotations"`
3737
}
3838

3939
// GenerateFunc builds annotations.yaml with mediatype, manifests &

0 commit comments

Comments
 (0)
Please sign in to comment.