Mercurial > gemma
diff pkg/imports/sr.go @ 5421:c9da747d4109 marking-single-beam
Extended ISR import job to handle marking scans as well.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 08 Jul 2021 01:46:03 +0200 |
parents | 202715173935 |
children | b8d5f1cd15fb |
line wrap: on
line diff
--- a/pkg/imports/sr.go Thu Jul 08 00:14:58 2021 +0200 +++ b/pkg/imports/sr.go Thu Jul 08 01:46:03 2021 +0200 @@ -998,8 +998,9 @@ continue } log.Printf("debug: class %d: %d\n", i, len(class)) - _, err := stmt.ExecContext(ctx, id, heights[i], epsg, class.AsWKB()) - if err != nil { + if _, err := stmt.ExecContext( + ctx, id, heights[i], epsg, class.AsWKB(), + ); err != nil { return err } }