Linting and use latest golang image for tests.
This commit is contained in:
parent
6b519c31a0
commit
39ad633d45
@ -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:
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user