Skip to content

Commit e2d9140

Browse files
anishasthanaopenshift-merge-robot
authored andcommitted
Fix pre-commit failures
Signed-off-by: Anish Asthana <[email protected]>
1 parent b89ab42 commit e2d9140

7 files changed

+6
-10
lines changed

config/internal/mcad/apiservice_external-metrics.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ spec:
1111
version: v1beta1
1212
insecureSkipTLSVerify: true
1313
groupPriorityMinimum: 100
14-
versionPriority: 100
14+
versionPriority: 100

config/internal/mcad/clusterrole_system-controller-xqueuejob-controller.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ rules:
7070
- patch
7171
- delete
7272
#{{ end }}
73-
#{{ end }}
73+
#{{ end }}

config/internal/mcad/clusterrolebinding_custom-metrics-resource-reader.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ roleRef:
1010
subjects:
1111
- kind: ServiceAccount
1212
name: {{ .Values.serviceAccount }}
13-
namespace: kube-system
13+
namespace: kube-system

config/internal/mcad/clusterrolebinding_system-controller-xqueuejob-controller-kube-scheduler.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ roleRef:
1414
subjects:
1515
- kind: ServiceAccount
1616
name: {{ .Values.serviceAccount }}
17-
namespace: kube-system
17+
namespace: kube-system

config/internal/mcad/clusterrolebinding_system-controller-xqueuejob-controller.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ roleRef:
1414
subjects:
1515
- kind: ServiceAccount
1616
name: {{ .Values.serviceAccount }}
17-
namespace: kube-system
17+
namespace: kube-system

controllers/multi_cluster_app_dispatcher.go

-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ import (
66
ctrl "sigs.k8s.io/controller-runtime"
77
)
88

9-
var (
10-
foo = codeflarev1alpha1.MCADSpec{EnableMonitoring: true}
11-
)
12-
139
var multiClusterAppDispatcherTemplates = []string{
1410
"mcad/configmap.yaml.tmpl",
1511
}

hack/boilerplate.go.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
1212
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
15-
*/
15+
*/

0 commit comments

Comments
 (0)