Skip to content

Commit f6ac73d

Browse files
committed
fixing typo and added a missing comment.
Signed-off-by: Veeraiah Chowdary Nuvvula <[email protected]>
1 parent ee916fe commit f6ac73d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

cmd/containerd/command/service_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func serviceFlags() []cli.Flag {
8888
}
8989
}
9090

91-
// applyPlatformFlags applys platform-specific flags.
91+
// applyPlatformFlags applies platform-specific flags.
9292
func applyPlatformFlags(context *cli.Context) {
9393

9494
if s := context.GlobalString("service-name"); s != "" {

containers/containers.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ type RuntimeInfo struct {
8686

8787
// Store interacts with the underlying container storage
8888
type Store interface {
89+
// Get a container using the id.
90+
//
91+
// Container object is returned on success. If the id is not known to the
92+
// store, an error will be returned.
8993
Get(ctx context.Context, id string) (Container, error)
9094

9195
// List returns containers that match one or more of the provided filters.

0 commit comments

Comments
 (0)