Mercurial > gemma
diff pkg/controllers/srimports.go @ 1328:d753ce6cf588
To make golint happier made context.Context to be the first argument in all calls.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 25 Nov 2018 16:26:41 +0100 |
parents | 8d9754007089 |
children | 5874cedd7f91 |
line wrap: on
line diff
--- a/pkg/controllers/srimports.go Sun Nov 25 15:56:07 2018 +0100 +++ b/pkg/controllers/srimports.go Sun Nov 25 16:26:41 2018 +0100 @@ -229,7 +229,7 @@ messages = append(messages, fmt.Sprintf("'meta.json' found but invalid: %v", err)) } else { - errs := meta.Validate(conn, req.Context()) + errs := meta.Validate(req.Context(), conn) for _, err := range errs { messages = append(messages, fmt.Sprintf("invalid 'meta.json': %v", err))