File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -73,15 +73,15 @@ def substitute_empty_values(args):
73
73
74
74
def main ():
75
75
"""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 ()
79
78
79
+ if not CONFIG .extract_config_from_azure_key_vault :
80
80
# Substitute the empty values with configuration values
81
81
substitute_empty_values (args )
82
82
83
83
address = handle_legacy_port_config ()
84
- # # Add scheme if missing
84
+ # Add scheme if missing
85
85
if not address .startswith (("http://" , "https://" )):
86
86
address = "http://" + address
87
87
host = urlparse (address ).hostname or args .host
You can’t perform that action at this time.
0 commit comments