Skip to content

Commit

Permalink
chore(providers): fixed typos related to uptime kuma provider
Browse files Browse the repository at this point in the history
  • Loading branch information
pehlicd committed Nov 28, 2024
1 parent bac2f47 commit 026b6ba
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions keep/providers/uptimekuma_provider/uptimekuma_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -48,7 +48,7 @@ class UptimeKumaProviderAuthConfig:
)


class UptimeKumaProvider(BaseProvider):
class UptimekumaProvider(BaseProvider):
PROVIDER_DISPLAY_NAME = "UptimeKuma"
PROVIDER_TAGS = ["alert"]
PROVIDER_CATEGORY = ["Monitoring"]
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -189,7 +189,7 @@ def _format_alert(
},
)

provider = UptimeKumaProvider(
provider = UptimekumaProvider(
context_manager=context_manager,
provider_id="uptimekuma",
config=config,
Expand Down

0 comments on commit 026b6ba

Please sign in to comment.