The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/pylxd/pull/298

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Small change in documentation to indicate that this tuple has now 3 elements
From 18c80e9c30fc0e5ce479cb3642d09b4714cea34e Mon Sep 17 00:00:00 2001
From: Karol Werner <ka...@ppkt.eu>
Date: Tue, 17 Apr 2018 14:30:20 +0200
Subject: [PATCH] Update documentation for Container.execute

Signed-off-by: Karol Werner <ka...@ppkt.eu>
---
 doc/source/containers.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/source/containers.rst b/doc/source/containers.rst
index 133d78b..dc4f287 100644
--- a/doc/source/containers.rst
+++ b/doc/source/containers.rst
@@ -62,8 +62,8 @@ Container methods
   - `unfreeze` - Resume the container
   - `execute` - Execute a command on the container. The first argument is
     a list, in the form of `subprocess.Popen` with each item of the command
-    as a separate item in the list. Returns a two part tuple of
-    `(stdout, stderr)`. This method will block while the command is executed.
+    as a separate item in the list. Returns a tuple of `(exit_code, stdout, 
stderr)`.
+    This method will block while the command is executed.
   - `migrate` - Migrate the container. The first argument is a client
     connection to the destination server. This call is asynchronous, so
     `wait=True` is optional. The container on the new client is returned.
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to