Linting and use latest golang image for tests.

This commit is contained in:
Stanislav Nikitin 2019-12-22 04:24:25 +05:00
parent 6b519c31a0
commit 39ad633d45
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ steps:
- golangci-lint run
- name: test
image: golang:1.13.4-alpine
image: golang:1.13.5-alpine
environment:
CGO_ENABLED: 0
commands:

View File

@ -83,7 +83,7 @@ func (sh Handler) ServeHTTP(respwriter http.ResponseWriter, req *http.Request) {
err := json.Unmarshal(body, &slackmsg)
if err != nil {
c.Log.Error("Failed to decode JSON into SlackMessage struct: '%s'", err.Error())
c.Log.Errorf("Failed to decode JSON into SlackMessage struct: '%s'\n", err.Error())
return
}