Mercurial > gemma
changeset 2204:25f73251a6ac
Uploaded fairway availability import: cosmetics.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 12 Feb 2019 23:28:01 +0100 |
parents | 8d1a945d0c3b |
children | 6cce66a6ceb5 |
files | pkg/imports/ufa.go |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/imports/ufa.go Tue Feb 12 23:24:09 2019 +0100 +++ b/pkg/imports/ufa.go Tue Feb 12 23:28:01 2019 +0100 @@ -81,11 +81,11 @@ return nil, err } - if response.Get_bottleneck_faResult == nil { + result := response.Get_bottleneck_faResult + if result == nil { return nil, errors.New("No bottlenecks found") } - result := response.Get_bottleneck_faResult return result.FairwayAvailability, nil }