From f2394c5f8577c636ccdbbd27477c65bedd4bb000 Mon Sep 17 00:00:00 2001 From: "Dr. Stefan Schimanski" Date: Thu, 1 Aug 2024 22:11:34 +0200 Subject: [PATCH] Address comments Signed-off-by: Dr. Stefan Schimanski --- apis/query/v1alpha1/query_types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/query/v1alpha1/query_types.go b/apis/query/v1alpha1/query_types.go index 0d868a2..c308b81 100644 --- a/apis/query/v1alpha1/query_types.go +++ b/apis/query/v1alpha1/query_types.go @@ -137,7 +137,7 @@ type QueryCondition struct { // A QueryOwner specifies how to query by owner. type QueryOwner struct { // APIGroup is the name of the owner to match. - APIGroup string `json:"APIGroup,omitempty"` + APIGroup string `json:"apiGroup,omitempty"` // kind is the kind of the owner to match. Kind string `json:"kind,omitempty"` // uid is the uid of the owner to match. @@ -174,7 +174,7 @@ type QueryOrder struct { // APIGroup specifies how to order by API group. // // +kubebuilder:validation:Enum=Asc;Desc - APIGroup Direction `json:"APIGroup,omitempty"` + APIGroup Direction `json:"apiGroup,omitempty"` // kind specifies how to order by kind. //