Skip to content

Commit

Permalink
[AIRFLOW-5897] Allow setting -1 as pool slots value in webserver (#6550)
Browse files Browse the repository at this point in the history
This is a follow-up to 5d92162.

The original fix only applied to the www UI not the www_rbac one.

(cherry picked from commit 03a46dd)
  • Loading branch information
potiuk authored and kaxil committed Aug 15, 2020
1 parent eca6c32 commit fb98e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/www_rbac/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2382,7 +2382,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 fb98e25

Please sign in to comment.