Don't compare cluster count from .env and secrets.json
@@ -3,7 +3,6 @@ import os
import signal
import sys
-import dotenv
import psutil
from common.utils.setup import load_data
@@ -16,11 +15,11 @@ async def async_main():
secrets = load_secrets()
data = load_data()
- if os.path.exists(".env"):
- env = dotenv.dotenv_values()
- if env.get("CLUSTER_COUNT") != str(secrets.cluster_count):
- print("CLUSTER_COUNT from .env doesn't match with secrets.json!")
- sys.exit(1)
+ # if os.path.exists(".env"):
+ # env = dotenv.dotenv_values()
+ # if env.get("CLUSTER_COUNT") != str(secrets.cluster_count):
+ # print("CLUSTER_COUNT from .env doesn't match with secrets.json!")
+ # sys.exit(1)
async with MechaKaren(secrets, data) as karen:
if os.name != "nt":
