Skip to content

Commit 79ca3d2

Browse files
Merge pull request #259 from rhoerbe/rh_var_fixes2
Mandate that there is at least one backend and frontend
2 parents 2286758 + ec7522a commit 79ca3d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/satosa/routing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(self, frontends, backends, micro_services):
5050
module
5151
"""
5252

53-
if not frontends and not backends:
53+
if not frontends or not backends:
5454
raise ValueError("Need at least one frontend and one backend")
5555

5656
backend_names = [backend.name for backend in backends]

0 commit comments

Comments
 (0)