Skip to content

Commit eb29b42

Browse files
committed
Change minimum API version for exec_inspect
1 parent 139850f commit eb29b42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ def exec_create(self, container, cmd, stdout=True, stderr=True, tty=False,
306306
return self._result(res, True)
307307

308308
def exec_inspect(self, exec_id):
309-
if utils.compare_version('1.15', self._version) < 0:
310-
raise errors.InvalidVersion('Exec is not supported in API < 1.15')
309+
if utils.compare_version('1.16', self._version) < 0:
310+
raise errors.InvalidVersion('Exec is not supported in API < 1.16')
311311
if isinstance(exec_id, dict):
312312
exec_id = exec_id.get('Id')
313313
res = self._get(self._url("/exec/{0}/json".format(exec_id)))

0 commit comments

Comments
 (0)