Skip to content

Commit 68f5919

Browse files
committed
update use application credential boolean
1 parent 1d1dd78 commit 68f5919

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

simple_vm_client/openstack_connector/openstack_connector.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ def load_env_config(self) -> None:
134134
logger.error("OS_AUTH_URL not provided in env!")
135135
sys.exit(1)
136136

137-
self.USE_APPLICATION_CREDENTIALS = os.environ.get(
138-
"USE_APPLICATION_CREDENTIALS", False
137+
self.USE_APPLICATION_CREDENTIALS = (
138+
os.environ.get("USE_APPLICATION_CREDENTIALS", False).lower() == "true"
139139
)
140140

141141
if self.USE_APPLICATION_CREDENTIALS:

0 commit comments

Comments
 (0)