Mercurial > gemma
diff pkg/imports/dma.go @ 4177:8b75ac5e243e
Made 'staticcheck' happy with pgxutils package.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 05 Aug 2019 17:16:46 +0200 |
parents | 78ec61acf72e |
children | ca6a5f722471 |
line wrap: on
line diff
--- a/pkg/imports/dma.go Mon Aug 05 16:58:53 2019 +0200 +++ b/pkg/imports/dma.go Mon Aug 05 17:16:46 2019 +0200 @@ -124,7 +124,7 @@ ft := caps.FindFeatureType(dma.FeatureType) if ft == nil { - return nil, fmt.Errorf("Unknown feature type '%s'", dma.FeatureType) + return nil, fmt.Errorf("unknown feature type '%s'", dma.FeatureType) } feedback.Info("Found feature type '%s'", dma.FeatureType) @@ -247,7 +247,7 @@ } if features == 0 { - err := errors.New("No features found") + err := errors.New("no features found") feedback.Error("%v", err) return nil, err }