diff options
| author | 2024-02-02 16:12:08 +0000 | |
|---|---|---|
| committer | 2024-02-02 16:12:08 +0000 | |
| commit | 5fd87154cbf326068b181f366286a635a7eaa119 (patch) | |
| tree | 709446f42d8981e83bca8b17f4fda280d477c7e2 /arthur/apis/kubernetes/certificates.py | |
| parent | Add ruff isort configuration (diff) | |
Enable all ruff rules
Diffstat (limited to 'arthur/apis/kubernetes/certificates.py')
| -rw-r--r-- | arthur/apis/kubernetes/certificates.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/arthur/apis/kubernetes/certificates.py b/arthur/apis/kubernetes/certificates.py index 86ad983..ab71443 100644 --- a/arthur/apis/kubernetes/certificates.py +++ b/arthur/apis/kubernetes/certificates.py @@ -8,8 +8,8 @@ from kubernetes_asyncio.client.api_client import ApiClient  async def list_certificates(namespace: str) -> dict[str, Any]:      """List certificate objects created through cert-manager.""" -    async with ApiClient() as api: -        api = client.CustomObjectsApi(api) +    async with ApiClient() as api_client: +        api = client.CustomObjectsApi(api_client)          return await api.list_namespaced_custom_object(              "cert-manager.io", "v1", namespace, "certificates"          ) | 
