Expected Behavior
self._cdn.purge_content(self._cdn_account, url )
returns True or message
Actual Behavior
self._cdn.purge_content(self._cdn_account, url )
throws Function ("purgeContent") is not a valid method for this service
Environment Information
Operating System:
softlayer-python version (slcli --version): 4.1.1 and 5.0.0
In the code replace self.account.purgeContent with self.account.purgeCache seems to solve the problem.
Expected Behavior
self._cdn.purge_content(self._cdn_account, url )
returns True or message
Actual Behavior
self._cdn.purge_content(self._cdn_account, url )
throws Function ("purgeContent") is not a valid method for this service
Environment Information
Operating System:
softlayer-python version (
slcli --version): 4.1.1 and 5.0.0In the code replace self.account.purgeContent with self.account.purgeCache seems to solve the problem.