From 8406c7003b067bae47cadd43645d49fceb7ffe8a Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sun, 18 Jul 2021 11:32:48 +0100 Subject: fix: add missing await on certificates list --- arthur/exts/kubernetes/certificates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arthur/exts/kubernetes/certificates.py') diff --git a/arthur/exts/kubernetes/certificates.py b/arthur/exts/kubernetes/certificates.py index f8653ba..bb08655 100644 --- a/arthur/exts/kubernetes/certificates.py +++ b/arthur/exts/kubernetes/certificates.py @@ -24,7 +24,7 @@ class Certificates(commands.Cog): @certificates.command(name="list", aliases=["ls"]) async def certificates_list(self, ctx: commands.Context, namespace: str = "default") -> None: """List TLS certificates in the selected namespace (defaults to default).""" - certs = certificates.list_certificates(namespace) + certs = await certificates.list_certificates(namespace) return_embed = Embed(title=f"Certificates in namespace {namespace}") -- cgit v1.2.3