diff --git a/hack/verify-gofmt.sh b/hack/verify-gofmt.sh index 8917d92348fe..4e75eead7cc1 100755 --- a/hack/verify-gofmt.sh +++ b/hack/verify-gofmt.sh @@ -23,6 +23,7 @@ set -o pipefail KUBE_ROOT=$(dirname "${BASH_SOURCE}")/.. cd "${KUBE_ROOT}" +#FORK-CHANGE: ignoring `./cluster-autoscaler/cloudprovider/mcm/*` find_files() { find . -not \( \ \( \ @@ -43,6 +44,7 @@ find_files() { -o -wholename './cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/*' \ -o -wholename './cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/*' \ -o -wholename './cluster-autoscaler/cloudprovider/hetzner/hcloud-go/*' \ + -o -wholename './cluster-autoscaler/cloudprovider/mcm/*' \ \) -prune \ \) -name '*.go' } diff --git a/hack/verify-golint.sh b/hack/verify-golint.sh index 991578f5414c..e0dbef170879 100755 --- a/hack/verify-golint.sh +++ b/hack/verify-golint.sh @@ -40,7 +40,7 @@ excluded_packages=( 'cluster-autoscaler/cloudprovider/hetzner/hcloud-go' 'cluster-autoscaler/expander/grpcplugin/protos' 'cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go' - 'balancer/' # FORK-CHANGE: since we don't use `balancer` component , no need to do any golint checks and block our PR tests + 'balancer' # FORK-CHANGE: since we don't use `balancer` component , no need to do any golint checks and block our PR tests ) FIND_PACKAGES='go list ./... '