Skip to content

Commit 6d6d82b

Browse files
committed
update configuration
1 parent 840a35f commit 6d6d82b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

shells/backends/gcp_tf_backend/src/driver.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ def delete_tfstate_file(self, context, tf_state_unique_name: str):
118118
bucket = storage_client.get_bucket(bucket_name)
119119
"""Delete object under folder"""
120120
blobs = list(bucket.list_blobs(prefix=tf_state_unique_name))
121-
if len(blobs) == 0 :
121+
if len(blobs) == 0:
122122
logger.exception(f"Folder {tf_state_unique_name} not exists.")
123-
elif len(blobs) > 1 :
123+
elif len(blobs) > 1:
124124
logger.exception(f"There are more than 1 Folder {tf_state_unique_name} currenlty {len(blobs)} folders exist.")
125-
else :
125+
else:
126126
bucket.delete_blobs(blobs)
127127
logger.info(f"Folder {tf_state_unique_name} deleted.")
128128
except Exception as e:

0 commit comments

Comments
 (0)