Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
Changing label selector type for HPA (#197)
Browse files Browse the repository at this point in the history
* Changing label selector type to string

* go mod changes
  • Loading branch information
johnugeorge authored Dec 19, 2022
1 parent 21f5ba8 commit ec9b50d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 26 deletions.
5 changes: 2 additions & 3 deletions pkg/apis/common/v1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/apis/common/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -65,7 +65,7 @@ type ReplicaStatus struct {
// A label selector is a label query over a set of resources. The result of matchLabels and
// matchExpressions are ANDed. An empty label selector matches all objects. A null
// label selector matches no objects.
LabelSelector *metav1.LabelSelector `json:"labelSelector,omitempty"`
LabelSelector string `json:"labelSelector,omitempty"`
}

// +k8s:openapi-gen=true
Expand Down
8 changes: 1 addition & 7 deletions pkg/apis/common/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions test_job/client/clientset/versioned/fake/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions test_job/client/clientset/versioned/scheme/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ec9b50d

Please sign in to comment.