From 026b6ba3800f93a8a394eb1ab62672088729537b Mon Sep 17 00:00:00 2001 From: pehlicd <65170388+pehlicd@users.noreply.github.com> Date: Thu, 28 Nov 2024 09:26:22 +0100 Subject: [PATCH] chore(providers): fixed typos related to uptime kuma provider --- .../uptimekuma_provider/uptimekuma_provider.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/keep/providers/uptimekuma_provider/uptimekuma_provider.py b/keep/providers/uptimekuma_provider/uptimekuma_provider.py index aeb159b17..f5c8f7728 100644 --- a/keep/providers/uptimekuma_provider/uptimekuma_provider.py +++ b/keep/providers/uptimekuma_provider/uptimekuma_provider.py @@ -15,9 +15,9 @@ @pydantic.dataclasses.dataclass -class UptimeKumaProviderAuthConfig: +class UptimekumaProviderAuthConfig: """ - UptimeKumaProviderAuthConfig is a class that holds the authentication information for the UptimekumaProvider. + UptimekumaProviderAuthConfig is a class that holds the authentication information for the UptimekumaProvider. """ host_url: str = dataclasses.field( @@ -48,7 +48,7 @@ class UptimeKumaProviderAuthConfig: ) -class UptimeKumaProvider(BaseProvider): +class UptimekumaProvider(BaseProvider): PROVIDER_DISPLAY_NAME = "UptimeKuma" PROVIDER_TAGS = ["alert"] PROVIDER_CATEGORY = ["Monitoring"] @@ -87,7 +87,7 @@ def validate_scopes(self): return {"alerts": False} def validate_config(self): - self.authentication_config = UptimeKumaProviderAuthConfig( + self.authentication_config = UptimekumaProviderAuthConfig( **self.config.authentication ) if self.authentication_config.host_url is None: @@ -189,7 +189,7 @@ def _format_alert( }, ) - provider = UptimeKumaProvider( + provider = UptimekumaProvider( context_manager=context_manager, provider_id="uptimekuma", config=config,