Skip to content

Commit 53048ce

Browse files
[patch] fix import
1 parent c683b52 commit 53048ce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/mas/devops/tekton.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
from jinja2 import Environment, FileSystemLoader
2424

25-
from .ocp import getConsoleURL, waitForCRD, waitForDeployment, crdExists
25+
from .ocp import getConsoleURL, waitForCRD, waitForDeployment, crdExists, getStorageClassVolumeBindingMode
2626
from .mas import waitForPVC, patchPendingPVC
2727

2828
logger = logging.getLogger(__name__)
@@ -158,7 +158,6 @@ def preparePipelinesNamespace(dynClient: DynamicClient, instanceId: str = None,
158158
pvcAPI.apply(body=pvc, namespace=namespace)
159159

160160
# Automatically determine if we should wait for PVC binding based on storage class
161-
from .ocp import getStorageClassVolumeBindingMode
162161
volumeBindingMode = getStorageClassVolumeBindingMode(dynClient, storageClass)
163162
waitForBind = (volumeBindingMode == "Immediate")
164163

@@ -205,7 +204,6 @@ def prepareAiServicePipelinesNamespace(dynClient: DynamicClient, instanceId: str
205204
pvcAPI.apply(body=pvc, namespace=namespace)
206205

207206
# Automatically determine if we should wait for PVC binding based on storage class
208-
from .ocp import getStorageClassVolumeBindingMode
209207
volumeBindingMode = getStorageClassVolumeBindingMode(dynClient, storageClass)
210208
waitForBind = (volumeBindingMode == "Immediate")
211209

0 commit comments

Comments
 (0)