aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/exts/kubernetes/nodes.py
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-07-19 00:34:00 +0100
committerGravatar Joe Banks <[email protected]>2021-07-19 00:34:00 +0100
commit1f50ea16a566d6370e26000b0a384587c48a4738 (patch)
tree1803bec17ec602eabcb58d5e5b455f808eb64340 /arthur/exts/kubernetes/nodes.py
parentMerge branch 'main' of github.com:python-discord/king-arthur into main (diff)
Change wording of cordon/uncordon commands
Diffstat (limited to 'arthur/exts/kubernetes/nodes.py')
-rw-r--r--arthur/exts/kubernetes/nodes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/arthur/exts/kubernetes/nodes.py b/arthur/exts/kubernetes/nodes.py
index f7ac42e..004b24a 100644
--- a/arthur/exts/kubernetes/nodes.py
+++ b/arthur/exts/kubernetes/nodes.py
@@ -58,7 +58,7 @@ class Nodes(commands.Cog):
]
)
- table = tabulate(table_data, headers=["Name", "Status", "Kubernetes Version", "Created"])
+ table = tabulate(table_data, headers=["Name", "Status", "Kubernetes Version", "Created"], tablefmt="psql")
return_message = dedent(
f"""
@@ -81,7 +81,7 @@ class Nodes(commands.Cog):
await nodes.cordon_node(node)
await ctx.send(
- f":construction: **Cordoned {node}** `{node}` is now "
+ f":construction: **Cordoned {node}** Node is now "
"cordoned and no pods will be scheduled to it."
)
@@ -95,7 +95,7 @@ class Nodes(commands.Cog):
await nodes.uncordon_node(node)
await ctx.send(
- f":construction: **Uncordoned {node}** `{node}` is now "
+ f":construction: **Uncordoned {node}** Node is now "
"uncordoned, future pods may be scheduled to it."
)