From a0ca1abb4167966f9fc65676b6949b6b93cfa247 Mon Sep 17 00:00:00 2001 From: Or Shoval Date: Sun, 4 Dec 2022 14:30:58 +0200 Subject: [PATCH] whitespace: Fix needed places Signed-off-by: Or Shoval --- .github/workflows/image-push.yaml | 2 +- hack/whitespace.sh | 2 +- manifests/secondarydns.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/image-push.yaml b/.github/workflows/image-push.yaml index 79f1acf..ab57bac 100644 --- a/.github/workflows/image-push.yaml +++ b/.github/workflows/image-push.yaml @@ -1,5 +1,5 @@ name: Push container image -on: +on: push: branches: - main diff --git a/hack/whitespace.sh b/hack/whitespace.sh index 7f6314d..3d2a083 100755 --- a/hack/whitespace.sh +++ b/hack/whitespace.sh @@ -9,7 +9,7 @@ function fix() { function check() { invalid_files=$(git ls-files -- ':!vendor/' | xargs egrep -Hn " +$" || true) if [[ $invalid_files ]]; then - echo 'Found trailing whitespaces. Please remove trailing whitespaces using `make fmt`:' + echo 'Found trailing whitespaces. Please remove trailing whitespaces using `make whitespace`:' echo "$invalid_files" return 1 fi diff --git a/manifests/secondarydns.yaml b/manifests/secondarydns.yaml index 37794a2..907e4b5 100644 --- a/manifests/secondarydns.yaml +++ b/manifests/secondarydns.yaml @@ -97,7 +97,7 @@ spec: mountPath: /etc/coredns readOnly: true - name: secdns-zones - mountPath: /zones + mountPath: /zones readOnly: true - name: status-monitor image: registry:5000/kubevirt/kubesecondarydns:latest