Skip to content

Commit 267c5c4

Browse files
fix args bug for azure key vault case (#66)
1 parent 1a04892 commit 267c5c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/aali/flowkit/__main__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ def substitute_empty_values(args):
7373

7474
def main():
7575
"""Run entrypoint for the FlowKit service."""
76-
if not CONFIG.extract_config_from_azure_key_vault:
77-
# Parse the command line arguments
78-
args = parse_cli_args()
76+
# Always parse args, but only use them conditionally
77+
args = parse_cli_args()
7978

79+
if not CONFIG.extract_config_from_azure_key_vault:
8080
# Substitute the empty values with configuration values
8181
substitute_empty_values(args)
8282

8383
address = handle_legacy_port_config()
84-
# # Add scheme if missing
84+
# Add scheme if missing
8585
if not address.startswith(("http://", "https://")):
8686
address = "http://" + address
8787
host = urlparse(address).hostname or args.host

0 commit comments

Comments
 (0)