Mercurial > gemma
comparison pkg/imports/stsh.go @ 4390:acd0cf98fd44 stretches-for-responsibility
Merged default into stretches-for-responsibility branch.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Thu, 12 Sep 2019 18:15:22 +0200 |
parents | 5e38667f740c eca3afe766d7 |
children | e020e6e34ad7 |
comparison
equal
deleted
inserted
replaced
4389:5e38667f740c | 4390:acd0cf98fd44 |
---|---|
317 return nil, err | 317 return nil, err |
318 } | 318 } |
319 | 319 |
320 // Store the countries | 320 // Store the countries |
321 for _, country := range countries { | 321 for _, country := range countries { |
322 if _, err := insCountryStmt.ExecContext(ctx, country); err != nil { | 322 if _, err := insCountryStmt.ExecContext(ctx, id, country); err != nil { |
323 return nil, err | 323 return nil, err |
324 } | 324 } |
325 } | 325 } |
326 | 326 |
327 // Finally track the stretch | 327 // Finally track the stretch |