Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[patch] Fix lint errors
Browse files Browse the repository at this point in the history
Rawa Resul committed Jan 30, 2025
1 parent ab244a9 commit 79cc00d
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/src/mas/cli/install/app.py
Original file line number Diff line number Diff line change
@@ -1008,7 +1008,7 @@ def nonInteractiveMode(self) -> None:
if findSLSByNamespace(self.getParam("sls_namespace"), dynClient=self.dynamicClient):
self.setParam("sls_action", "gencfg")
else:
self.fatalError(f"--license-file must be set for new SLS install")
self.fatalError("--license-file must be set for new SLS install")

# Once we've processed the inputs, we should validate the catalog source & prompt to accept the license terms
if not self.devMode:
2 changes: 1 addition & 1 deletion python/src/mas/cli/install/argBuilder.py
Original file line number Diff line number Diff line change
@@ -124,7 +124,7 @@ def buildCommand(self) -> str:
# -----------------------------------------------------------------------------
if self.getParam("sls_namespace") and self.getParam("sls_namespace") != "ibm-sls":
if self.getParam("mas_instance_id") and self.getParam("sls_namespace") == f"mas-{self.getParam('mas_instance_id')}-sls":
command += f" --dedicated-sls"
command += " --dedicated-sls"
else:
command += f" --sls-namespace \"{self.getParam('sls_namespace')}\""
if self.slsLicenseFileLocal:
1 change: 0 additions & 1 deletion python/src/mas/cli/install/settings/additionalConfigs.py
Original file line number Diff line number Diff line change
@@ -182,7 +182,6 @@ def manualCertificates(self) -> None:

self.certsSecret = certsSecret


def slsLicenseFile(self) -> None:
if self.slsLicenseFileLocal:
slsLicenseFileSecret = {

0 comments on commit 79cc00d

Please sign in to comment.