Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
fix: apps directory path
Browse files Browse the repository at this point in the history
  • Loading branch information
deepankarm committed May 15, 2023
1 parent 38fa535 commit 1c1bd56
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lcserve/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,11 +682,14 @@ def get_flow_dict(
**(get_global_jcloud_args(app_id=app_id, name=name) if jcloud else {}),
}
if os.environ.get("LCSERVE_TEST", False):
flow_dict['with'] = {
if 'with' not in flow_dict:
flow_dict['with'] = {}

flow_dict['with'].update({
'metrics': True,
'metrics_exporter_host': 'http://localhost',
'metrics_exporter_port': 4317,
}
})
return flow_dict


Expand Down

0 comments on commit 1c1bd56

Please sign in to comment.