Skip to content

Commit 026b6ba

Browse files
committed
chore(providers): fixed typos related to uptime kuma provider
1 parent bac2f47 commit 026b6ba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

keep/providers/uptimekuma_provider/uptimekuma_provider.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616

1717
@pydantic.dataclasses.dataclass
18-
class UptimeKumaProviderAuthConfig:
18+
class UptimekumaProviderAuthConfig:
1919
"""
20-
UptimeKumaProviderAuthConfig is a class that holds the authentication information for the UptimekumaProvider.
20+
UptimekumaProviderAuthConfig is a class that holds the authentication information for the UptimekumaProvider.
2121
"""
2222

2323
host_url: str = dataclasses.field(
@@ -48,7 +48,7 @@ class UptimeKumaProviderAuthConfig:
4848
)
4949

5050

51-
class UptimeKumaProvider(BaseProvider):
51+
class UptimekumaProvider(BaseProvider):
5252
PROVIDER_DISPLAY_NAME = "UptimeKuma"
5353
PROVIDER_TAGS = ["alert"]
5454
PROVIDER_CATEGORY = ["Monitoring"]
@@ -87,7 +87,7 @@ def validate_scopes(self):
8787
return {"alerts": False}
8888

8989
def validate_config(self):
90-
self.authentication_config = UptimeKumaProviderAuthConfig(
90+
self.authentication_config = UptimekumaProviderAuthConfig(
9191
**self.config.authentication
9292
)
9393
if self.authentication_config.host_url is None:
@@ -189,7 +189,7 @@ def _format_alert(
189189
},
190190
)
191191

192-
provider = UptimeKumaProvider(
192+
provider = UptimekumaProvider(
193193
context_manager=context_manager,
194194
provider_id="uptimekuma",
195195
config=config,

0 commit comments

Comments
 (0)