This is an automated email from the ASF dual-hosted git repository.
xddeng pushed a commit to branch v1-10-stable
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v1-10-stable by this push:
new 9af8557 Fix pool set and pool delete via cli (#15056)
9af8557 is described below
commit 9af8557c2e92cd57d242d163cd29f3110939299c
Author: Aaditya Sharma <[email protected]>
AuthorDate: Sun Mar 28 19:37:40 2021 +0530
Fix pool set and pool delete via cli (#15056)
Co-authored-by: Aaditya Sharma <[email protected]>
---
airflow/bin/cli.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow/bin/cli.py b/airflow/bin/cli.py
index 843282a..cfd98c0 100644
--- a/airflow/bin/cli.py
+++ b/airflow/bin/cli.py
@@ -299,11 +299,11 @@ def pool_get(args):
def pool_set(args):
- _pool_wrapper(args, set=(args.name, args.slots, args.description))
+ _pool_wrapper(args, set=(args.pool, args.slots, args.description))
def pool_delete(args):
- _pool_wrapper(args, delete=pool.name)
+ _pool_wrapper(args, delete=args.pool)
def pool_import(args):