mirror of
https://github.com/nicolargo/glances.git
synced 2026-03-14 12:00:14 -04:00
Fix "'break' outside loop" and remove unused exception
This commit is contained in:
@@ -138,9 +138,6 @@ class Plugin(GlancesPlugin):
|
||||
# Check the server connection with the version() method
|
||||
try:
|
||||
ret.version()
|
||||
except requests.exceptions.ConnectTimeout:
|
||||
logger.debug('docker plugin - Connection to {} timed out'.format(r_url))
|
||||
break
|
||||
except requests.exceptions.ConnectionError as e:
|
||||
# Connexion error (Docker not detected)
|
||||
# Let this message in debug mode
|
||||
|
||||
Reference in New Issue
Block a user