Mercurial > gemma
changeset 1920:3dca0ee97da6
Stretches import: Track new ids.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 18 Jan 2019 20:02:55 +0100 |
parents | 500d07d043bc |
children | 0059aa870a39 |
files | pkg/imports/st.go |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/imports/st.go Fri Jan 18 19:52:38 2019 +0100 +++ b/pkg/imports/st.go Fri Jan 18 20:02:55 2019 +0100 @@ -207,6 +207,10 @@ } } + if err := track(ctx, tx, importID, "waterway.stretches", id); err != nil { + return nil, err + } + feedback.Info("Storing stretch '%s' took %s", st.Name, time.Since(start)) if err := tx.Commit(); err != nil { return nil, err