Skip to content

Commit 0ea2b43

Browse files
committed
governance status fix endpoint
1 parent 3f4b9f4 commit 0ea2b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataikuapi/dss/apideployer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def get_governance_status(self, version=""):
319319
:param str version: (Optional) The specific package version of the published service to get status from. If empty, consider all the versions used in the deployment generation mapping.
320320
:rtype: dict InforMessages containing the governance status
321321
"""
322-
return self.client._perform_json("POST", "/api-deployer/deployments/%s/governance-status" % (self.deployment_id), params={ "version": version })
322+
return self.client._perform_json("GET", "/api-deployer/deployments/%s/governance-status" % (self.deployment_id), params={ "version": version })
323323

324324
def get_settings(self):
325325
"""

0 commit comments

Comments
 (0)