Mercurial > gemma
comparison pkg/imports/ufa.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 |
---|---|
81 return nil, err | 81 return nil, err |
82 } | 82 } |
83 | 83 |
84 result := response.Get_bottleneck_faResult | 84 result := response.Get_bottleneck_faResult |
85 if result == nil { | 85 if result == nil { |
86 return nil, errors.New("No bottlenecks found") | 86 return nil, errors.New("no bottlenecks found") |
87 } | 87 } |
88 | 88 |
89 return result.FairwayAvailability, nil | 89 return result.FairwayAvailability, nil |
90 } | 90 } |
91 | 91 |