Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ekneg54 committed Apr 26, 2024
1 parent 778cc86 commit 7078cb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logprep/metrics/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def cleanup_prometheus_multiprocess_dir(self):
os.remove(os.path.join(root, file))
for directory in dirs:
shutil.rmtree(os.path.join(root, directory), ignore_errors=True)
self._logger.info("Cleaned up %s" % multiprocess_dir)
self._logger.info("Cleaned up %s", multiprocess_dir)

def mark_process_dead(self, pid):
"""
Expand All @@ -63,5 +63,5 @@ def run(self):
"""Starts the default prometheus http endpoint"""
self._prepare_multiprocessing()
self._server.start()
self._logger.info("Prometheus Exporter started on port %s" % self._port)
self._logger.info("Prometheus Exporter started on port %s", self._port)
self.is_running = True

0 comments on commit 7078cb7

Please sign in to comment.