We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3581a05 commit a250a71Copy full SHA for a250a71
1 file changed
src/mas/devops/sls.py
@@ -3,6 +3,7 @@
3
4
logger = logging.getLogger(__name__)
5
6
+
7
def listSLSInstances(dynClient: DynamicClient) -> list:
8
"""
9
Get a list of SLS instances on the cluster
@@ -14,7 +15,7 @@ def listSLSInstances(dynClient: DynamicClient) -> list:
14
15
numSLS = len(licenseservices)
16
17
if numSLS == 1:
- logger.info(f"There is 1 SLS instance installed on this cluster:")
18
+ logger.info("There is 1 SLS instance installed on this cluster:")
19
logger.info(f" * {licenseservices[0]['metadata']['name']} ({{licenseservices[0]['metadata']['namespace']}}) v{licenseservices[0]['status']['versions']['reconciled']}")
20
elif numSLS > 0:
21
logger.info(f"There are {numSLS} SLS instances installed on this cluster:")
0 commit comments