Skip to content

Commit

Permalink
Dependencies bump (#105)
Browse files Browse the repository at this point in the history
* bump all dependencies to latest

* update jobs extensiont to use moved kubernetes structures
  • Loading branch information
jb3 authored Sep 6, 2023
1 parent dc71824 commit f810ad1
Show file tree
Hide file tree
Showing 3 changed files with 252 additions and 197 deletions.
4 changes: 2 additions & 2 deletions arthur/exts/kubernetes/jobs.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -13,7 +13,7 @@
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
Expand Down
Loading

0 comments on commit f810ad1

Please sign in to comment.