Skip to content

Commit

Permalink
fix resiliency of snapshot search (#548)
Browse files Browse the repository at this point in the history
Do not fetch snapshot metadata when data is already present - fix typo
in previous merge.
  • Loading branch information
nicolasochem authored Feb 17, 2023
1 parent 0a00836 commit c5e8e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/config-generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def main():
with open("/etc/tezos/config.json", "w") as json_file:
print(node_config_json, file=json_file)

if not os.path.isdir(f"${DATA_DIR}/context"):
if not os.path.isdir(f"{DATA_DIR}/context"):
node_snapshot_config = create_node_snapshot_config_json(
node_config["shell"]["history_mode"]
)
Expand Down

0 comments on commit c5e8e7b

Please sign in to comment.