comparison pkg/imports/ubn.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 4acbee65275d
children a376351d2774
comparison
equal deleted inserted replaced
4176:c9315a6eb2c2 4177:8b75ac5e243e
78 ); err != nil { 78 ); err != nil {
79 return nil, err 79 return nil, err
80 } 80 }
81 81
82 if dst.Export_bn_by_isrsResult == nil { 82 if dst.Export_bn_by_isrsResult == nil {
83 return nil, errors.New("No bottlenecks found") 83 return nil, errors.New("no bottlenecks found")
84 } 84 }
85 85
86 return dst.Export_bn_by_isrsResult.BottleNeckType, nil 86 return dst.Export_bn_by_isrsResult.BottleNeckType, nil
87 } 87 }
88 88