Skip to content

Commit 2cc3301

Browse files
committed
fix: serialization of componentReferences
1 parent 8bf0443 commit 2cc3301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/ocm-cli/ocm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ type Component struct {
9696
// Version is the version of the component.
9797
Version string `json:"version"`
9898
// ComponentReferences is a list of references to other components that this component depends on.
99-
ComponentReferences []ComponentReference `yaml:"componentReferences"`
99+
ComponentReferences []ComponentReference `json:"componentReferences"`
100100
// Resources is a list of resources associated with this component, including their names, versions, types, and access information.
101101
Resources []Resource `json:"resources"`
102102
}

0 commit comments

Comments
 (0)