mirror of
https://github.com/nicolargo/glances.git
synced 2024-08-17 00:10:48 +03:00
chg: glances client - avoid logging user creds
This commit is contained in:
parent
f31b767e0e
commit
6a0889851c
@ -50,7 +50,9 @@ class GlancesClient:
|
||||
self.uri = f'http://{args.username}:{args.password}@{args.client}:{args.port}'
|
||||
else:
|
||||
self.uri = f'http://{args.client}:{args.port}'
|
||||
logger.debug(f"Try to connect to {self.uri}")
|
||||
|
||||
# Avoid logging user credentials
|
||||
logger.debug(f"Try to connect to 'http://{args.client}:{args.port}'")
|
||||
|
||||
# Try to connect to the URI
|
||||
transport = GlancesClientTransport()
|
||||
|
Loading…
Reference in New Issue
Block a user