Skip to content

Commit

Permalink
Fix golangci-lint to 1.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheng Pan committed Oct 31, 2019
1 parent 397c35d commit d7c53dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
9 changes: 4 additions & 5 deletions hack/verify-golint
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@

set -euo pipefail

if ! which golangci-lint > /dev/null; then
echo "Cannot find golangci-lint. Installing golangci-lint..."
go get -v github.com/golangci/golangci-lint/cmd/golangci-lint
fi
echo "Installing golangci-lint..."
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.21.0

golangci-lint run --deadline=10m
echo "Running golangci-lint..."
./bin/golangci-lint run --deadline=10m

echo "Congratulations! All Go source files have been linted."
4 changes: 0 additions & 4 deletions test/e2e/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ func NewCloud(region string) *cloud {
}
}

type FileSystemOptions struct {
clusterName string
}

func (c *cloud) CreateFileSystem(clusterName string) (string, error) {
tags := []*efs.Tag{
{
Expand Down

0 comments on commit d7c53dc

Please sign in to comment.