Skip to content

Commit b433066

Browse files
committed
remove leftover unused variable
1 parent 8ad5dab commit b433066

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

pkg/controller/operator_config.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ func (c *Controller) importConfigurationFromCRD(fromCRD *acidv1.OperatorConfigur
111111

112112
result.PodRoleLabel = util.Coalesce(fromCRD.Kubernetes.PodRoleLabel, "spilo-role")
113113
result.PodLeaderLabelValue = util.Coalesce(fromCRD.Kubernetes.PodLeaderLabelValue, "master")
114-
result.PodStandbyLeaderLabelValue = util.Coalesce(fromCRD.Kubernetes.PodStandbyLeaderLabelValue, "master")
115114
result.ClusterLabels = util.CoalesceStrMap(fromCRD.Kubernetes.ClusterLabels, map[string]string{"application": "spilo"})
116115
result.InheritedLabels = fromCRD.Kubernetes.InheritedLabels
117116
result.InheritedAnnotations = fromCRD.Kubernetes.InheritedAnnotations

pkg/util/config/config.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ type Resources struct {
4949
DeleteAnnotationNameKey string `name:"delete_annotation_name_key"`
5050
PodRoleLabel string `name:"pod_role_label" default:"spilo-role"`
5151
PodLeaderLabelValue string `name:"pod_leader_label_value" default:"master"`
52-
PodStandbyLeaderLabelValue string `name:"pod_standby_leader_label_value" default:"master"`
5352
PodToleration map[string]string `name:"toleration" default:""`
5453
DefaultCPURequest string `name:"default_cpu_request"`
5554
DefaultMemoryRequest string `name:"default_memory_request"`

0 commit comments

Comments
 (0)