Use updated registry API

This commit is contained in:
Ivan Kravets
2020-07-25 17:13:05 +03:00
parent 39cb23813f
commit def149a29e

View File

@ -69,7 +69,7 @@ class RegistryClient(RESTClient):
)
path = "/v3/packages/%s/%s/%s" % (owner, type, name)
if version:
path = path + "/version/" + version
path += "/" + version
response = self.send_auth_request(
"delete", path, params={"undo": 1 if undo else 0},
)