astronomer / astro-cli

CLI that makes it easy to create, test and deploy Airflow DAGs to Astronomer
https://www.astronomer.io
Other
355 stars 70 forks source link

connection export bug #1468

Open erdos2n opened 10 months ago

erdos2n commented 10 months ago

Describe the bug

When running astro dev object export -c the following error occurs:

Issue with parsing port number: strconv.Atoi: parsing "": invalid syntaxUpdating Connection: snowflake_connection
Exporting Connection: snowflake_connection
Issue with parsing port number: strconv.Atoi: parsing "": invalid syntaxUpdating Connection: azure_connection
Exporting Connection: azure_connection
successfully exported Connections

What CLI Version did you experience this bug?

Astro CLI Version: 1.19.1

This CLI bug is related to which Astronomer Platform?

What Operating System is the above CLI installed on? Mac OS

🪜 Steps To Reproduce

erdos2n commented 10 months ago

This is only breaking on the port number and both of these connection do not have a port number, outlier situation