Skip to content

Commit

Permalink
[AIRFLOW-5897] Allow setting -1 as pool slots value in webserver (apa…
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinYang21 authored and Emmanuel Garette committed Nov 13, 2019
1 parent e531a22 commit 02348dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2174,7 +2174,7 @@ def fqueued_slots(attr):

validators_columns = {
'pool': [validators.DataRequired()],
'slots': [validators.NumberRange(min=0)]
'slots': [validators.NumberRange(min=-1)]
}


Expand Down

0 comments on commit 02348dc

Please sign in to comment.