Remove MINIO_PATH
This commit is contained in:
parent
322e949de0
commit
69871eeee8
1 changed files with 0 additions and 2 deletions
|
@ -2,7 +2,6 @@
|
||||||
import json, os, sys, time, pathlib, socket, shutil
|
import json, os, sys, time, pathlib, socket, shutil
|
||||||
|
|
||||||
STORAGE_PATH = os.path.join(os.getcwd(), '.minio-testnet')
|
STORAGE_PATH = os.path.join(os.getcwd(), '.minio-testnet')
|
||||||
MINIO_PATH = '/srv'
|
|
||||||
HOSTS_PATH = os.path.join(STORAGE_PATH, 'hosts.txt')
|
HOSTS_PATH = os.path.join(STORAGE_PATH, 'hosts.txt')
|
||||||
UNIX_SOCK = os.path.join(STORAGE_PATH, 'deploy.sock')
|
UNIX_SOCK = os.path.join(STORAGE_PATH, 'deploy.sock')
|
||||||
DATA_PATH = lambda nid: os.path.join(STORAGE_PATH, 'data'+str(nid))
|
DATA_PATH = lambda nid: os.path.join(STORAGE_PATH, 'data'+str(nid))
|
||||||
|
@ -14,7 +13,6 @@ def main():
|
||||||
def leader():
|
def leader():
|
||||||
shutil.rmtree(STORAGE_PATH, ignore_errors=True)
|
shutil.rmtree(STORAGE_PATH, ignore_errors=True)
|
||||||
os.makedirs(STORAGE_PATH)
|
os.makedirs(STORAGE_PATH)
|
||||||
os.makedirs(MINIO_PATH, exist_ok=True)
|
|
||||||
print(STORAGE_PATH)
|
print(STORAGE_PATH)
|
||||||
|
|
||||||
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||||||
|
|
Loading…
Reference in a new issue