Skip to content

Commit

Permalink
Merge pull request #176 from fmherschel/angi
Browse files Browse the repository at this point in the history
srHook/susHanaSR.py: correct path for crm_attribute
  • Loading branch information
angelabriel authored Apr 6, 2023
2 parents a015f43 + c5aa064 commit 350b7d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srHook/susHanaSR.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def srConnectionChanged(self, ParamDict, **kwargs):
myMSG = "### Ignoring bad SR status because of empty site name in call params ###"
self.tracer.info("{0}.{1}() {2}\n".format(self.__class__.__name__, method, myMSG))
else:
myCMD = "sudo /usr/bin/crm_attribute -n hana_%s_site_srHook_%s -v %s -t crm_config -s SAPHanaSR" % (mysid, mySite, mySRS)
myCMD = "sudo /usr/sbin/crm_attribute -n hana_%s_site_srHook_%s -v %s -t crm_config -s SAPHanaSR" % (mysid, mySite, mySRS)
rc = os.system(myCMD)
myMSG = "CALLING CRM: <{0}> rc={1}".format(myCMD, rc)
self.tracer.info("{0}.{1}() {2}\n".format(self.__class__.__name__, method, myMSG))
Expand Down

0 comments on commit 350b7d6

Please sign in to comment.