comparison pkg/imports/bn.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 c489c78ed525
children 5d7ce7f926eb
comparison
equal deleted inserted replaced
4176:c9315a6eb2c2 4177:8b75ac5e243e
224 return nil, err 224 return nil, err
225 } 225 }
226 226
227 if resp.Export_bn_by_isrsResult == nil { 227 if resp.Export_bn_by_isrsResult == nil {
228 return nil, errors.New( 228 return nil, errors.New(
229 "The requested service returned no bottlenecks") 229 "the requested service returned no bottlenecks")
230 } 230 }
231 231
232 return resp.Export_bn_by_isrsResult.BottleNeckType, nil 232 return resp.Export_bn_by_isrsResult.BottleNeckType, nil
233 } 233 }
234 234