mirror of https://github.com/docker/docker-py.git
Added check_resource decorator to exec_create
This commit is contained in:
parent
933ee526ba
commit
b712e97d4a
|
|
@ -273,6 +273,7 @@ class Client(clientbase.ClientBase):
|
|||
decode=decode
|
||||
)
|
||||
|
||||
@check_resource
|
||||
def exec_create(self, container, cmd, stdout=True, stderr=True, tty=False,
|
||||
privileged=False):
|
||||
if utils.compare_version('1.15', self._version) < 0:
|
||||
|
|
|
|||
Loading…
Reference in New Issue