We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ced257 commit af9f5ffCopy full SHA for af9f5ff
infrahub_sdk/ctl/cli_commands.py
@@ -418,7 +418,7 @@ def info( # noqa: PLR0915
418
"groups": {},
419
}
420
client = initialize_client_sync()
421
- fetch_user_details = client.config.username or client.config.api_token
+ fetch_user_details = bool(client.config.username) or bool(client.config.api_token)
422
423
try:
424
info["infrahub_version"] = client.get_version()
0 commit comments