diff options
| author | 2023-09-06 15:19:38 +0100 | |
|---|---|---|
| committer | 2023-09-06 15:19:38 +0100 | |
| commit | f810ad16bb3e4e143200f19049c97e08374dbbef (patch) | |
| tree | 97835d4a55c15a1e4997512122ef7e50025e2801 /arthur/exts/kubernetes/jobs.py | |
| parent | build(deps-dev): bump pre-commit from 3.3.3 to 3.4.0 (#104) (diff) | |
Dependencies bump (#105)
* bump all dependencies to latest
* update jobs extensiont to use moved kubernetes structures
Diffstat (limited to 'arthur/exts/kubernetes/jobs.py')
| -rw-r--r-- | arthur/exts/kubernetes/jobs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arthur/exts/kubernetes/jobs.py b/arthur/exts/kubernetes/jobs.py index 6259f65..9a0f645 100644 --- a/arthur/exts/kubernetes/jobs.py +++ b/arthur/exts/kubernetes/jobs.py @@ -1,7 +1,7 @@ """The zones cog helps with managing Cloudflare zones.""" import discord from discord.ext import commands -from kubernetes_asyncio.client.models import V1beta1CronJobList +from kubernetes_asyncio.client.models import V1CronJobList from arthur.apis.kubernetes import jobs from arthur.bot import KingArthur @@ -13,7 +13,7 @@ from arthur.config import CONFIG class CronJobView(discord.ui.View): """This view allows users to select and trigger a CronJob.""" - def __init__(self, cron_jobs: V1beta1CronJobList) -> None: + def __init__(self, cron_jobs: V1CronJobList) -> None: super().__init__() self.cron_jobs = cron_jobs |