Skip to content

Commit 826c9e6

Browse files
committed
Removed execute() method
1 parent 69ef9e5 commit 826c9e6

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

docker/client.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -271,19 +271,6 @@ def events(self, since=None, until=None, filters=None, decode=None):
271271
params=params, stream=True),
272272
decode=decode)
273273

274-
@check_resource
275-
def execute(self, container, cmd, detach=False, stdout=True, stderr=True,
276-
stream=False, tty=False):
277-
warnings.warn(
278-
'Client.execute is being deprecated. Please use exec_create & '
279-
'exec_start instead', DeprecationWarning
280-
)
281-
create_res = self.exec_create(
282-
container, cmd, stdout, stderr, tty
283-
)
284-
285-
return self.exec_start(create_res, detach, tty, stream)
286-
287274
def exec_create(self, container, cmd, stdout=True, stderr=True, tty=False,
288275
privileged=False):
289276
if utils.compare_version('1.15', self._version) < 0:

0 commit comments

Comments
 (0)