Skip to content

Commit

Permalink
fix: relax service name condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoreira-valory committed Jan 24, 2025
1 parent 1c1dfcc commit 812b79c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operate/services/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ def _deploy_service_onchain_from_safe( # pylint: disable=too-many-statements,to
)

# TODO yet another computed variable for modius
if service.name.lower() == "optimus":
if "optimus" in service.name.lower():
store_path = service.path / "persistent_data"
store_path.mkdir(parents=True, exist_ok=True)
env_var_to_value.update({"STORE_PATH": os.path.join(str(store_path), "")})
Expand Down

0 comments on commit 812b79c

Please sign in to comment.