diff --git a/oc/od/kuberneteswatcher.py b/oc/od/kuberneteswatcher.py index ea4c1cd..b7b1822 100644 --- a/oc/od/kuberneteswatcher.py +++ b/oc/od/kuberneteswatcher.py @@ -90,13 +90,13 @@ def loopforevent( self ): except urllib3.exceptions.NewConnectionError as e: # HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /api/v1/namespaces/abcdesktop/pods?timeoutSeconds=10&watch=True # (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') - self.logger.fatal( "{type(e)} {e}" ) + self.logger.fatal( f"{type(e)} {e}" ) self.watch.stop() # stop the infinte loop return except Exception as e: - self.logger.debug( "{type(e)} {e}" ) + self.logger.debug( f"{type(e)} {e}" ) def start(self):