File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -265,11 +265,11 @@ def getMasChannel(dynClient: DynamicClient, instanceId: str) -> str:
265265def 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' )
You can’t perform that action at this time.
0 commit comments