Skip to content

Commit 4f6156d

Browse files
[patch] remove extra spaces
1 parent e4c034b commit 4f6156d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/mas/devops/tekton.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,9 @@ def preparePipelinesNamespace(dynClient: DynamicClient, instanceId: str = None,
156156
pvc = yaml.safe_load(renderedTemplate)
157157
pvcAPI = dynClient.resources.get(api_version="v1", kind="PersistentVolumeClaim")
158158
pvcAPI.apply(body=pvc, namespace=namespace)
159-
160159
# Automatically determine if we should wait for PVC binding based on storage class
161160
volumeBindingMode = getStorageClassVolumeBindingMode(dynClient, storageClass)
162161
waitForBind = (volumeBindingMode == "Immediate")
163-
164162
if waitForBind:
165163
logger.info(f"Storage class {storageClass} uses volumeBindingMode={volumeBindingMode}, waiting for PVC to bind")
166164
pvcIsBound = False

0 commit comments

Comments
 (0)