aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2021-12-08 16:36:33 +0100
committerQuentin <quentin@deuxfleurs.fr>2021-12-08 16:36:33 +0100
commit69871eeee82c5e95e28fa94555a774d415cfdd90 (patch)
tree92f29957994acae2d046f6ebca473ee7846d5674
parent322e949de0b416118365fbfb9448e5e5a1be6b23 (diff)
downloadmknet-69871eeee82c5e95e28fa94555a774d415cfdd90.tar.gz
mknet-69871eeee82c5e95e28fa94555a774d415cfdd90.zip
Remove MINIO_PATH
-rwxr-xr-xexample/deploy_minio.py2
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)