This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-2-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit eb3c4b60a5e7f5f18d85a6c45ae5360a6a8b07a4 Author: Sumit Maheshwari <msu...@users.noreply.github.com> AuthorDate: Wed Feb 23 15:50:13 2022 +0530 Fix triggerer --capacity parameter (#21753) (cherry picked from commit 9076b67c05cdba23e8fa51ebe5ad7f7d53e1c2ba) --- airflow/cli/cli_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/cli/cli_parser.py b/airflow/cli/cli_parser.py index 64cc582..e9939be 100644 --- a/airflow/cli/cli_parser.py +++ b/airflow/cli/cli_parser.py @@ -758,7 +758,7 @@ ARG_INCLUDE_DAGS = Arg( # triggerer ARG_CAPACITY = Arg( ("--capacity",), - type=str, + type=positive_int(allow_zero=False), help="The maximum number of triggers that a Triggerer will run at one time.", )