fix typos
Signed-off-by: allencloud <allen.sun@daocloud.io> Upstream-commit: 4e959ef2f7f063803d04e06166f459257eb94b5c Component: engine
This commit is contained in:
@ -7,7 +7,7 @@ import (
|
||||
clientapi "github.com/docker/engine-api/client"
|
||||
)
|
||||
|
||||
// getExitCode perform an inspect on the container. It returns
|
||||
// getExitCode performs an inspect on the container. It returns
|
||||
// the running state and the exit code.
|
||||
func getExitCode(dockerCli *client.DockerCli, ctx context.Context, containerID string) (bool, int, error) {
|
||||
c, err := dockerCli.Client().ContainerInspect(ctx, containerID)
|
||||
|
||||
Reference in New Issue
Block a user