From 8a1c46146979ef6665a2c6a28f01960e5ee730ae Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Mon, 2 Sep 2024 18:40:18 +0200 Subject: [PATCH] Fix incorrect order of namespace/deployment arguments --- arthur/exts/kubernetes/deployments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arthur/exts/kubernetes/deployments.py b/arthur/exts/kubernetes/deployments.py index c072e84..0c01ddd 100644 --- a/arthur/exts/kubernetes/deployments.py +++ b/arthur/exts/kubernetes/deployments.py @@ -160,7 +160,7 @@ async def deployments_restart( deployment `ff-bot` in the namespace `tooling`. """ if "/" in deployment and namespace == "default": - deployment, namespace = deployment.split("/") + namespace, deployment = deployment.split("/") confirmation = ConfirmDeployment(ctx.author.id, [namespace, deployment])