Skip to content

Commit

Permalink
Fixed logging for resource sync utility
Browse files Browse the repository at this point in the history
  • Loading branch information
moomindani committed Mar 22, 2023
1 parent b39206d commit 4d0f813
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utilities/resource_sync/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,10 @@ def replace_param_with_mapping(param, mapping):
elif isinstance(v, str):
for mk, mv in mapping.items():
if mk in v:
v_old = v
v = v.replace(mk, mv)
param[k] = v
logger.info(f"Mapped param {k}: {v} -> {param[k]}")
logger.info(f"Mapped param {k}: {v_old} -> {param[k]}")


def organize_job_param(job, mapping):
Expand Down

0 comments on commit 4d0f813

Please sign in to comment.