From f6ac73d71e4cf8516e353198e07f52b91061f14e Mon Sep 17 00:00:00 2001 From: Veeraiah Chowdary Nuvvula Date: Mon, 18 Feb 2019 12:21:40 -0800 Subject: [PATCH] fixing typo and added a missing comment. Signed-off-by: Veeraiah Chowdary Nuvvula --- cmd/containerd/command/service_windows.go | 2 +- containers/containers.go | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/containerd/command/service_windows.go b/cmd/containerd/command/service_windows.go index 1ad30f535..791af3aa8 100644 --- a/cmd/containerd/command/service_windows.go +++ b/cmd/containerd/command/service_windows.go @@ -88,7 +88,7 @@ func serviceFlags() []cli.Flag { } } -// applyPlatformFlags applys platform-specific flags. +// applyPlatformFlags applies platform-specific flags. func applyPlatformFlags(context *cli.Context) { if s := context.GlobalString("service-name"); s != "" { diff --git a/containers/containers.go b/containers/containers.go index a658b5708..c7ad2bfaa 100644 --- a/containers/containers.go +++ b/containers/containers.go @@ -86,6 +86,10 @@ type RuntimeInfo struct { // Store interacts with the underlying container storage type Store interface { + // Get a container using the id. + // + // Container object is returned on success. If the id is not known to the + // store, an error will be returned. Get(ctx context.Context, id string) (Container, error) // List returns containers that match one or more of the provided filters.