fixing typo and added a missing comment.

Signed-off-by: Veeraiah Chowdary Nuvvula <venuvvul@microsoft.com>
This commit is contained in:
Veeraiah Chowdary Nuvvula 2019-02-18 12:21:40 -08:00
parent ee916fe33c
commit f6ac73d71e
2 changed files with 5 additions and 1 deletions

View File

@ -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 != "" {

View File

@ -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.