diff options
author | 2021-07-18 11:32:48 +0100 | |
---|---|---|
committer | 2021-07-18 11:32:48 +0100 | |
commit | 8406c7003b067bae47cadd43645d49fceb7ffe8a (patch) | |
tree | 64f2dce82478b573dc81a63608e00274560dc94b | |
parent | refactor: update variable naming of deployments API (diff) |
fix: add missing await on certificates list
-rw-r--r-- | arthur/exts/kubernetes/certificates.py | 2 |
1 files changed, 1 insertions, 1 deletions
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}") |