Skip to content

Commit

Permalink
Remove useless use of return
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulchen5 authored and viennaa committed Feb 24, 2025
1 parent 1c079a2 commit 613f0e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BaseCollector.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def create_api_response_code_metric(self, collector: str, api_responding: int) -

if api_responding > 200:
logger.critical(f'API response {api_responding} [{collector}, {self.target}], no return')
return gauge

return gauge

def create_api_response_time_metric(self, collector: str, response_time: float) -> GaugeMetricFamily:
Expand Down

0 comments on commit 613f0e0

Please sign in to comment.