Commit 11ceb2e
committed
fix: DecideBackendByRequester: lookup via get
This will make it easier to check for and deal with lookup failures.
The microservice will return a None backend instead of raising an exception,
but that's behaviour that's easier to deal with.
And if nothing else provides a default backend, SATOSA will raise KeyError: None1 parent 1ee1696 commit 11ceb2e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments