Merge pull request #3030 from veerun14/venuvvul/add-comments-fix-typos

fixing typo and added a missing comment.
This commit is contained in:
Akihiro Suda 2019-02-19 12:32:12 +09:00 committed by GitHub
commit 58dc0677b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) { func applyPlatformFlags(context *cli.Context) {
if s := context.GlobalString("service-name"); s != "" { if s := context.GlobalString("service-name"); s != "" {

View File

@ -86,6 +86,10 @@ type RuntimeInfo struct {
// Store interacts with the underlying container storage // Store interacts with the underlying container storage
type Store interface { 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) Get(ctx context.Context, id string) (Container, error)
// List returns containers that match one or more of the provided filters. // List returns containers that match one or more of the provided filters.