Fix linting issues
This commit is contained in:
parent
aacce5cfdf
commit
200fc5c8c1
2 changed files with 8 additions and 2 deletions
|
@ -1,11 +1,17 @@
|
|||
language: go
|
||||
|
||||
go:
|
||||
- stable
|
||||
|
||||
before_install:
|
||||
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
||||
- go get -u github.com/alecthomas/gometalinter
|
||||
- gometalinter --install
|
||||
|
||||
install:
|
||||
- dep ensure
|
||||
|
||||
script:
|
||||
- make lint
|
||||
- make test
|
||||
- make
|
||||
|
|
|
@ -20,8 +20,8 @@ const (
|
|||
|
||||
// Errors that may be returned from an S3 client.
|
||||
var (
|
||||
ErrBucketDoesNotExist = errors.New("The specified bucket does not exist.")
|
||||
ErrKeyDoesNotExist = errors.New("The specified key does not exist.")
|
||||
ErrBucketDoesNotExist = errors.New("The specified bucket does not exist.") // nolint: golint
|
||||
ErrKeyDoesNotExist = errors.New("The specified key does not exist.") // nolint: golint
|
||||
)
|
||||
|
||||
// handleHTTPError handles HTTP errors.
|
||||
|
|
Loading…
Reference in a new issue