Skip to content

Commit cf86a85

Browse files
Aneri ThakkarAneri Thakkar
authored andcommitted
[patch] fix pre-commit hook failures
1 parent b667a5c commit cf86a85

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/mas/devops/mas/suite.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,11 @@ def getMasChannel(dynClient: DynamicClient, instanceId: str) -> str:
265265
def getSuitePermissionMode(dynClient: DynamicClient, instanceId: str) -> str:
266266
"""
267267
Get the permission mode from Suite CR.
268-
268+
269269
Args:
270270
dynClient: OpenShift Dynamic Client
271271
instanceId: MAS instance ID
272-
272+
273273
Returns:
274274
'cluster', 'nonEssential', 'essential', or 'unknown'
275275
"""
@@ -282,7 +282,7 @@ def getSuitePermissionMode(dynClient: DynamicClient, instanceId: str) -> str:
282282
name=instanceId,
283283
namespace=f'mas-{instanceId}-core'
284284
)
285-
285+
286286
# Get permissionMode from spec.settings.permissionMode
287287
# Default to 'cluster' if not set (backward compatibility)
288288
return suite.spec.get('settings', {}).get('permissionMode', 'cluster')

0 commit comments

Comments
 (0)