diff --git a/pkg/config/v1alpha1/types.go b/pkg/config/v1alpha1/types.go index 8a6ba0fa9..836a163c4 100644 --- a/pkg/config/v1alpha1/types.go +++ b/pkg/config/v1alpha1/types.go @@ -22,7 +22,7 @@ import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" // Preference stores elements of KubeRC configuration file type Preference struct { - metav1.TypeMeta `json:",inline"` + metav1.TypeMeta `json:""` // overrides allows changing default flag values of commands. // This is especially useful, when user doesn't want to explicitly diff --git a/pkg/config/v1beta1/types.go b/pkg/config/v1beta1/types.go index f019bbb37..85e20e4a9 100644 --- a/pkg/config/v1beta1/types.go +++ b/pkg/config/v1beta1/types.go @@ -24,7 +24,7 @@ import ( // Preference stores elements of KubeRC configuration file type Preference struct { - metav1.TypeMeta `json:",inline"` + metav1.TypeMeta `json:""` // defaults allow changing default option values of commands. // This is especially useful, when user doesn't want to explicitly