Skip to content

Commit

Permalink
Fix typo in classname.
Browse files Browse the repository at this point in the history
  • Loading branch information
chanchiwai-ray committed Apr 25, 2024
1 parent 3c420dc commit 184f82f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prometheus_hardware_exporter/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ThreadingWSGIServer(ThreadingMixIn, WSGIServer):
daemon_threads = True


class SlientRequestHandler(WSGIRequestHandler):
class SilentRequestHandler(WSGIRequestHandler):
"""A Silent Request handler."""

def log_message(self, format: str, *args: Any) -> None: # pylint: disable=W0622
Expand Down Expand Up @@ -51,7 +51,7 @@ def run(self, daemon: bool = False) -> None:
self.port,
self.app,
server_class=ThreadingWSGIServer,
handler_class=SlientRequestHandler,
handler_class=SilentRequestHandler,
)
logger.info("Started prometheus hardware exporter at %s:%s.", self.addr, self.port)
thread = threading.Thread(target=httpd.serve_forever)
Expand Down

0 comments on commit 184f82f

Please sign in to comment.