Skip to content

Commit 8eb2c65

Browse files
committed
Use json_mode var
1 parent 170c61a commit 8eb2c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vec_inf/cli/_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def launch(
159159
# Display launch information
160160
launch_formatter = LaunchResponseFormatter(model_name, launch_response.config)
161161

162-
if cli_kwargs.get("json_mode"):
162+
if json_mode:
163163
click.echo(json.dumps(launch_response.config))
164164
else:
165165
launch_info_table = launch_formatter.format_table_output()

0 commit comments

Comments
 (0)