From 7dd46bf44e031be345bb27db6c62999fd33476a1 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Tue, 18 Dec 2018 00:33:59 +0000 Subject: [PATCH] doc: API typos. --- docs/api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index 5cd5f2af..78bb57f4 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -355,7 +355,7 @@ Connection Methods will be searched if given as a filename. Defaults to ``lxc-attach``. -.. method:: Router.lxc (container, lxc_attach_path=None, \**kwargs) +.. method:: Router.lxd (container, lxc_path=None, \**kwargs) Construct a context on the local machine within a LXD container using the ``lxc`` program. @@ -371,7 +371,7 @@ Connection Methods .. method:: Router.setns (container, kind, username=None, docker_path=None, lxc_info_path=None, machinectl_path=None, \**kwargs) Construct a context in the style of :meth:`local`, but change the - active Linux process namespaces via calls to `setns(1)` before + active Linux process namespaces via calls to `setns(2)` before executing Python. The namespaces to use, and the active root file system are taken from