Merge "Change HTTP method of _action from PUT to POST"

This commit is contained in:
Jenkins 2016-08-31 14:47:08 +00:00 committed by Gerrit Code Review
commit 592debaafd

View File

@ -103,7 +103,7 @@ class ContainerManager(base.Manager):
def delete(self, id):
return self._delete(self._path(id))
def _action(self, id, action, method='PUT', qparams=None, **kwargs):
def _action(self, id, action, method='POST', qparams=None, **kwargs):
if qparams:
action = "%s?%s" % (action,
parse.urlencode(qparams))