Skip to content

Commit

Permalink
Fix issue with sidecar not being configured correctly for local runs
Browse files Browse the repository at this point in the history
  • Loading branch information
polyaxon-ci committed Jun 21, 2023
1 parent a8183fb commit 492bfd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion traceml/traceml/tracking/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,9 @@ def _init_artifacts_tracking(
default=self._is_offline or is_new or has_process_sidecar,
):
self.set_run_resource_logger()
if not self._is_offline and not settings.CLIENT_CONFIG.is_managed:
if has_process_sidecar or (
not self._is_offline and not settings.CLIENT_CONFIG.is_managed
):
self.set_run_process_sidecar()

def _add_event(self, event: LoggedEventSpec):
Expand Down

0 comments on commit 492bfd2

Please sign in to comment.