Skip to content

Commit 79cf6e0

Browse files
committed
update _raise_and_log
1 parent e85a49e commit 79cf6e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

shells/backends/gcp_tf_backend/src/driver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,14 @@ def _create_gcp_session(self, context, project_id: str, logger):
146146
# json_path defines on GCP TF BACKEND RESOURCE
147147
if json_path:
148148
if gcp_backend_resource.cloud_provider:
149-
lself._raise_and_log(logger, "Only one method of authentication should be filled", error_type=ValueError)
149+
self._raise_and_log(logger, "Only one method of authentication should be filled", error_type=ValueError)
150150
os.environ[GOOGLE_APPLICATION_CREDENTIALS] = json_path
151151
os.environ["GOOGLE_PROJECT"] = project_id
152152
# Keys not defines on GCP TF BACKEND RESOURCE (CLP reference should have been set)
153153
else:
154154
# CLP had not been set...
155155
if not gcp_backend_resource.cloud_provider:
156-
self._raise_and_log(logger,"At least one method of authentication should be filled", error_type=ValueError)
156+
self._raise_and_log(logger, "At least one method of authentication should be filled", error_type=ValueError)
157157

158158
# Check a correct CLP has been reference
159159
clp_details = api.GetResourceDetails

0 commit comments

Comments
 (0)