diff options
author | Quentin <quentin@deuxfleurs.fr> | 2021-12-08 16:36:33 +0100 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2021-12-08 16:36:33 +0100 |
commit | 69871eeee82c5e95e28fa94555a774d415cfdd90 (patch) | |
tree | 92f29957994acae2d046f6ebca473ee7846d5674 | |
parent | 322e949de0b416118365fbfb9448e5e5a1be6b23 (diff) | |
download | mknet-69871eeee82c5e95e28fa94555a774d415cfdd90.tar.gz mknet-69871eeee82c5e95e28fa94555a774d415cfdd90.zip |
Remove MINIO_PATH
-rwxr-xr-x | example/deploy_minio.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/example/deploy_minio.py b/example/deploy_minio.py index 8ee8430..4488974 100755 --- a/example/deploy_minio.py +++ b/example/deploy_minio.py @@ -2,7 +2,6 @@ import json, os, sys, time, pathlib, socket, shutil STORAGE_PATH = os.path.join(os.getcwd(), '.minio-testnet') -MINIO_PATH = '/srv' HOSTS_PATH = os.path.join(STORAGE_PATH, 'hosts.txt') UNIX_SOCK = os.path.join(STORAGE_PATH, 'deploy.sock') DATA_PATH = lambda nid: os.path.join(STORAGE_PATH, 'data'+str(nid)) @@ -14,7 +13,6 @@ def main(): def leader(): shutil.rmtree(STORAGE_PATH, ignore_errors=True) os.makedirs(STORAGE_PATH) - os.makedirs(MINIO_PATH, exist_ok=True) print(STORAGE_PATH) sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) |