Mercurial > gemma
diff pkg/controllers/importconfig.go @ 1708:49e047c2106e
Imports: Made imports re-runnable if they fail.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 08 Jan 2019 13:35:44 +0100 |
parents | 897d4d8316ad |
children | 3adb834ed55e |
line wrap: on
line diff
--- a/pkg/controllers/importconfig.go Tue Jan 08 12:34:29 2019 +0100 +++ b/pkg/controllers/importconfig.go Tue Jan 08 13:35:44 2019 +0100 @@ -25,6 +25,7 @@ "github.com/gorilla/mux" "gemma.intevation.de/gemma/pkg/auth" + "gemma.intevation.de/gemma/pkg/common" "gemma.intevation.de/gemma/pkg/imports" "gemma.intevation.de/gemma/pkg/scheduler" ) @@ -301,7 +302,7 @@ ctx context.Context, tx *sql.Tx, id int64, - attrs imports.ConfigAttributes, + attrs common.Attributes, ) error { if len(attrs) == 0 { return nil