From ba7535914ff56396d2726b76b8cb004e8a5f907c Mon Sep 17 00:00:00 2001 From: Pawel Krupa Date: Thu, 27 Sep 2018 15:35:51 +0200 Subject: [PATCH] make golint more confident --- .../config/openshift/cluster-api-provider-aws/master.yaml | 2 +- .../config/openshift/cluster-api-provider-libvirt/master.yaml | 2 +- ci-operator/config/openshift/machine-api-operator/master.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci-operator/config/openshift/cluster-api-provider-aws/master.yaml b/ci-operator/config/openshift/cluster-api-provider-aws/master.yaml index 1e195ad37ccd..2d52f375403d 100644 --- a/ci-operator/config/openshift/cluster-api-provider-aws/master.yaml +++ b/ci-operator/config/openshift/cluster-api-provider-aws/master.yaml @@ -41,5 +41,5 @@ tests: commands: IS_CONTAINER=TRUE ./hack/go-vet.sh ./... from: src - as: golint - commands: IS_CONTAINER=TRUE ./hack/go-lint.sh $(go list -f '{{ .ImportPath }}' ./...) + commands: IS_CONTAINER=TRUE ./hack/go-lint.sh -min_confidence 0.3 $(go list -f '{{ .ImportPath }}' ./...) from: src diff --git a/ci-operator/config/openshift/cluster-api-provider-libvirt/master.yaml b/ci-operator/config/openshift/cluster-api-provider-libvirt/master.yaml index 6604070a5a7f..a5b5c474ec4c 100644 --- a/ci-operator/config/openshift/cluster-api-provider-libvirt/master.yaml +++ b/ci-operator/config/openshift/cluster-api-provider-libvirt/master.yaml @@ -41,5 +41,5 @@ tests: commands: IS_CONTAINER=TRUE ./hack/go-vet.sh ./... from: src - as: golint - commands: IS_CONTAINER=TRUE ./hack/go-lint.sh $(go list -f '{{ .ImportPath }}' ./...) + commands: IS_CONTAINER=TRUE ./hack/go-lint.sh -min_confidence 0.3 $(go list -f '{{ .ImportPath }}' ./...) from: src diff --git a/ci-operator/config/openshift/machine-api-operator/master.yaml b/ci-operator/config/openshift/machine-api-operator/master.yaml index 6c6e92cc9640..f852b5ae08f5 100644 --- a/ci-operator/config/openshift/machine-api-operator/master.yaml +++ b/ci-operator/config/openshift/machine-api-operator/master.yaml @@ -40,5 +40,5 @@ tests: commands: IS_CONTAINER=TRUE ./hack/go-vet.sh ./... from: src - as: golint - commands: IS_CONTAINER=TRUE ./hack/go-lint.sh $(go list -f '{{ .ImportPath }}' ./...) + commands: IS_CONTAINER=TRUE ./hack/go-lint.sh -min_confidence 0.3 $(go list -f '{{ .ImportPath }}' ./...) from: src