Skip to content

Commit 2eabe08

Browse files
author
Bhautik Vala
committed
[patch] Fix precommit issue
1 parent bbe69e9 commit 2eabe08

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/mas/devops/mas.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ def verifyMasInstance(dynClient: DynamicClient, instanceId: str) -> bool:
178178
logger.error(f"Error: Unable to verify MAS instance due to failed authorization: {e}")
179179
return False
180180

181+
181182
def verifyAiServiceInstance(dynClient: DynamicClient, instanceId: str) -> bool:
182183
"""
183184
Validate that the chosen AI Service instance exists
@@ -197,6 +198,7 @@ def verifyAiServiceInstance(dynClient: DynamicClient, instanceId: str) -> bool:
197198
logger.error(f"Error: Unable to verify AI Service instance due to failed authorization: {e}")
198199
return False
199200

201+
200202
def verifyAppInstance(dynClient: DynamicClient, instanceId: str, applicationId: str) -> bool:
201203
"""
202204
Validate that the chosen app instance exists
@@ -242,6 +244,7 @@ def getMasChannel(dynClient: DynamicClient, instanceId: str) -> str:
242244
else:
243245
return masSubscription.spec.channel
244246

247+
245248
def getAiserviceChannel(dynClient: DynamicClient, instanceId: str) -> str:
246249
"""
247250
Get the AI Service channel from the subscription
@@ -252,6 +255,7 @@ def getAiserviceChannel(dynClient: DynamicClient, instanceId: str) -> str:
252255
else:
253256
return aiserviceSubscription.spec.channel
254257

258+
255259
def updateIBMEntitlementKey(dynClient: DynamicClient, namespace: str, icrUsername: str, icrPassword: str, artifactoryUsername: str = None, artifactoryPassword: str = None, secretName: str = "ibm-entitlement") -> ResourceInstance:
256260
if secretName is None:
257261
secretName = "ibm-entitlement"

0 commit comments

Comments
 (0)