Mercurial > gemma
diff pkg/controllers/bottlenecks.go @ 5210:da6eb8073f77 new-fwa
Introduce separate breaks from depths and widths.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 11 May 2020 16:10:26 +0200 |
parents | 23addd19a6e2 |
children | de417840dfee |
line wrap: on
line diff
--- a/pkg/controllers/bottlenecks.go Mon May 11 15:06:44 2020 +0200 +++ b/pkg/controllers/bottlenecks.go Mon May 11 16:10:26 2020 +0200 @@ -228,7 +228,7 @@ return } - access := limitingFactor(limiting) + access := limitingAccess[parseLimitingFactor(limiting)] ldcRefs, err := loadLDCReferenceValue(ctx, conn, bn) if err != nil { @@ -375,7 +375,7 @@ return } - access := limitingFactor(limiting) + access := limitingAccess[parseLimitingFactor(limiting)] log.Printf("info: time interval: (%v - %v)\n", from, to)