diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 80cd324..0749fa0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,10 +5,10 @@ repos: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace -- repo: https://github.com/golangci/golangci-lint - rev: v1.27.0 - hooks: - - id: golangci-lint +# - repo: https://github.com/golangci/golangci-lint +# rev: v1.27.0 +# hooks: +# - id: golangci-lint - repo: git://github.com/dnephin/pre-commit-golang rev: master hooks: diff --git a/resources/aws/common/ami.go b/resources/aws/common/ami.go index 3c173b0..97eb288 100644 --- a/resources/aws/common/ami.go +++ b/resources/aws/common/ami.go @@ -49,7 +49,6 @@ func IsAmiExist(svc ec2iface.EC2API, filters []*ec2.Filter) (bool, error) { if len(images) == 0 { return false, nil } - return true, nil }