Skip to content

Commit

Permalink
hotfix: disable update env variables and description
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoreira-valory committed Dec 14, 2024
1 parent 84dd098 commit 9e26639
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions operate/services/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -941,15 +941,16 @@ def update(
self.service_path = service_path
self.name = service_template["name"]
self.hash = service_template["hash"]
self.description = service_template["description"]
self.env_variables = service_template["env_variables"]

# TODO temporarily disable update on description and env variables - hotfix for Memeooorr
# self.description = service_template["description"]
# self.env_variables = service_template["env_variables"]

# Only update hash_history if latest inserted hash is different
if self.hash_history[max(self.hash_history.keys())] != service_template["hash"]:
current_timestamp = int(time.time())
self.hash_history[current_timestamp] = service_template["hash"]

self.description = service_template["description"]
self.home_chain = service_template["home_chain"]

ledger_configs = ServiceHelper(path=self.service_path).ledger_configs()
Expand Down

0 comments on commit 9e26639

Please sign in to comment.