Skip to content

Commit

Permalink
Fix incorrect order of namespace/deployment arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristgit committed Sep 2, 2024
1 parent 689667e commit 8a1c461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arthur/exts/kubernetes/deployments.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit 8a1c461

Please sign in to comment.