This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 6aafee4 Print right version in airflow info command (#14560)
6aafee4 is described below
commit 6aafee4282e1fb4590d63a774793865e609bf29f
Author: Ruben Laguna <[email protected]>
AuthorDate: Tue Mar 2 20:25:21 2021 +0100
Print right version in airflow info command (#14560)
---
airflow/cli/commands/info_command.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow/cli/commands/info_command.py
b/airflow/cli/commands/info_command.py
index 5db357a..aea6ea8 100644
--- a/airflow/cli/commands/info_command.py
+++ b/airflow/cli/commands/info_command.py
@@ -277,8 +277,8 @@ class ProvidersInfo(_BaseInfo):
table = SimpleTable(title="Providers info")
table.add_column()
table.add_column(width=150)
- for _, provider in ProvidersManager().providers.values():
- table.add_row(provider['package-name'], provider['versions'][0])
+ for provider_value in ProvidersManager().providers.values():
+ table.add_row(provider_value.provider_info['package-name'],
provider_value.version)
console.print(table)