From 830a10487fb896114ada8a13e9d66006b8b80935 Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Tue, 7 Apr 2026 13:30:08 -0400 Subject: [PATCH] Drop meaningless ,inline from json tags Kubernetes-commit: bed4a34ad8901d9a01efcb9594838f96ec9d4563 --- pkg/config/v1alpha1/types.go | 2 +- pkg/config/v1beta1/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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