Skip to content

Commit

Permalink
require collector & schedd
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Mar 20, 2023
1 parent 8f92ff8 commit 5fa5498
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skydriver/rest_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,12 @@ def json_to_dict(val: Any) -> dict:
collector = self.get_argument(
"collector",
type=str,
forbiddens=[r"\s*"], # no empty string / whitespace
)
schedd = self.get_argument(
"schedd",
type=str,
forbiddens=[r"\s*"], # no empty string / whitespace
)

# scanner args
Expand Down

0 comments on commit 5fa5498

Please sign in to comment.