Skip to content

Commit 05f1dcc

Browse files
committed
bugfix: make spec.grpcPodConfig.priorityClassName a *string
Signed-off-by: Per G. da Silva <perdasilva@redhat.com>
1 parent 1eb6c02 commit 05f1dcc

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

pkg/operators/v1alpha1/catalogsource_types.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ package v1alpha1
22

33
import (
44
"fmt"
5-
corev1 "k8s.io/api/core/v1"
6-
"time"
7-
85
"github.com/sirupsen/logrus"
6+
corev1 "k8s.io/api/core/v1"
97
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
108
"k8s.io/apimachinery/pkg/types"
9+
"time"
1110
)
1211

1312
const (
@@ -107,7 +106,7 @@ type GrpcPodConfig struct {
107106
// If not specified, the pod priority will be default or zero if there is no
108107
// default.
109108
// +optional
110-
PriorityClassName string `json:"priorityClassName,omitempty" protobuf:"bytes,24,opt,name=priorityClassName"`
109+
PriorityClassName *string `json:"priorityClassName,omitempty"`
111110
}
112111

113112
// UpdateStrategy holds all the different types of catalog source update strategies

pkg/operators/v1alpha1/zz_generated.deepcopy.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)