* Update documenation

Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
Jhon Honce
2018-09-28 14:49:01 -07:00
parent 9074565f4e
commit ff38edaafe
3 changed files with 6 additions and 6 deletions

View File

@ -23,15 +23,15 @@ class VarlinkErrorProxy(VarlinkError):
class ContainerNotFound(VarlinkErrorProxy):
"""Raised when Client can not find requested container."""
"""Raised when Client cannot find requested container."""
class ImageNotFound(VarlinkErrorProxy):
"""Raised when Client can not find requested image."""
"""Raised when Client cannot find requested image."""
class PodNotFound(VarlinkErrorProxy):
"""Raised when Client can not find requested image."""
"""Raised when Client cannot find requested image."""
class PodContainerError(VarlinkErrorProxy):

View File

@ -71,7 +71,7 @@ class Pod(collections.UserDict):
return self._refresh(podman)
def remove(self, force=False):
"""Remove all containers in the pod, the pod, return pod ident.
"""Remove pod and its containers returning pod ident.
force=True, stop any running container.
"""
@ -105,7 +105,7 @@ class Pod(collections.UserDict):
return self._refresh(podman)
def top(self):
"""Display stats for all containers exit."""
"""Display stats for all containers."""
with self._client() as podman:
results = podman.TopPod(self._ident)
return results['pod']