linting fixes
This commit is contained in:
parent
6ce4c20736
commit
a325dbeddd
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ pipeline:
|
|||
- dep ensure
|
||||
- go generate
|
||||
- gometalinter --install
|
||||
- gometalinter --vendor ./...
|
||||
- gometalinter --skip static.go --vendor ./...
|
||||
- go build
|
||||
publish:
|
||||
image: plugins/docker:17.05
|
||||
|
|
|
@ -69,7 +69,7 @@ func contactRequest(c echo.Context) (err error) {
|
|||
|
||||
enc := json.NewEncoder(os.Stdout)
|
||||
enc.SetIndent("", " ")
|
||||
enc.Encode(msg)
|
||||
enc.Encode(msg) // nolint
|
||||
|
||||
return c.JSON(http.StatusBadGateway, NewError(errors.New("internal error; please retry")))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue