Unverified Kaydet (Commit) 98093544 authored tarafından Thomas Grainger's avatar Thomas Grainger

support new Py3.5 Enum signals

Signed-off-by: 's avatarThomas Grainger <tom.grainger@procensus.com>
üst 7e243049
......@@ -187,7 +187,7 @@ class ContainerApiMixin(object):
url = self._url("/containers/{0}/kill", container)
params = {}
if signal is not None:
params['signal'] = signal
params['signal'] = int(signal)
res = self._post(url, params=params)
self._raise_for_status(res)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment