Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/aali/flowkit/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ def substitute_empty_values(args):

def main():
"""Run entrypoint for the FlowKit service."""
# Always parse args, but only use them conditionally
args = parse_cli_args()

if not CONFIG.extract_config_from_azure_key_vault:
# Parse the command line arguments
args = parse_cli_args()

# Substitute the empty values with configuration values
substitute_empty_values(args)

address = handle_legacy_port_config()
# # Add scheme if missing
# Add scheme if missing
if not address.startswith(("http://", "https://")):
address = "http://" + address
host = urlparse(address).hostname or args.host
Expand Down
Loading