linting fixes

This commit is contained in:
Seán C McCord 2018-05-16 23:03:52 -04:00
parent 6ce4c20736
commit a325dbeddd
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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")))
}