Skip to content

Commit 0055fd9

Browse files
authored
Merge pull request #662 from skalenetwork/fix-filestorage-mapping
Ensure filestorage mapping dir during init and update
2 parents c7b3611 + 79effcc commit 0055fd9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

node_cli/operations/base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
cleanup_volume_artifacts,
3838
docker_lvmpy_update,
3939
docker_lvmpy_install,
40+
ensure_filestorage_mapping,
4041
prepare_block_device
4142
)
4243
from node_cli.operations.skale_node import download_skale_node, sync_skale_node, update_images
@@ -182,6 +183,7 @@ def init_sync(env_filepath: str, env: str) -> bool:
182183
env_filepath,
183184
env_type=env['ENV_TYPE'],
184185
)
186+
ensure_filestorage_mapping()
185187
link_env_file()
186188
download_contracts(env)
187189

@@ -215,6 +217,7 @@ def update_sync(env_filepath: str, env: Dict) -> None:
215217
if env.get('SKIP_DOCKER_CONFIG') != 'True':
216218
configure_docker()
217219

220+
ensure_filestorage_mapping()
218221
backup_old_contracts()
219222
download_contracts(env)
220223

0 commit comments

Comments
 (0)