From 1fb54330bf1acaab1e398e04b7d4ca6a2cc3c1cc Mon Sep 17 00:00:00 2001 From: Rafael Bradley Date: Sun, 16 Mar 2025 00:29:17 -0300 Subject: [PATCH] fix(scripts): :ambulance: Yet another hotfix for `deploy.py`. --- scripts/deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy.py b/scripts/deploy.py index f34111f..bd60a25 100644 --- a/scripts/deploy.py +++ b/scripts/deploy.py @@ -45,7 +45,7 @@ time.sleep(15) with open("./k8s/bot.yml") as stream: try: - docs = yaml.load_all(stream, yaml.Loader) + docs = list(yaml.load_all(stream, yaml.Loader)) data = docs[0] os.system(f"microk8s kubectl exec bot-{data["spec"]["replicas"] - 1} -- uv run aerich upgrade")