Skip to content

Commit

Permalink
Fix return value for check_36461
Browse files Browse the repository at this point in the history
Change-Id: I88fdf4643e7326d25bd58a67fded1067c704ffdd
  • Loading branch information
theilluminate committed Aug 16, 2022
1 parent f73947e commit 450adb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/com/mirantis/mcp/UpgradeChecks.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def check_36461(salt, venvPepper, String cluster_name, Boolean raise_exc){
def common = new com.mirantis.mk.Common()
def waStatus = [prodId: "PROD-36461", isFixed: "", waInfo: ""]
if (!salt.testTarget(venvPepper, 'I@ceph:radosgw')) {
return
waStatus.isFixed = 'Nothing to do. Ceph is not enabled.'
return waStatus
}
def clusterModelPath = "/srv/salt/reclass/classes/cluster/${cluster_name}"
def checkFile = "${clusterModelPath}/ceph/rgw.yml"
Expand Down

0 comments on commit 450adb4

Please sign in to comment.