Skip to content

Commit cce430f

Browse files
authored
Add missing json annotation to KptFile (#2598)
1 parent 9e3f7f8 commit cce430f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/api/kptfile/v1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var TypeMeta = yaml.ResourceMeta{
4242
// KptFile contains information about a package managed with kpt.
4343
// swagger:model kptfile
4444
type KptFile struct {
45-
yaml.ResourceMeta `yaml:",inline"`
45+
yaml.ResourceMeta `yaml:",inline" json:",inline"`
4646

4747
Upstream *Upstream `yaml:"upstream,omitempty" json:"upstream,omitempty"`
4848

0 commit comments

Comments
 (0)