diff --git a/api/utils_test.go b/api/utils_test.go index 3aae407447..b22169da6c 100644 --- a/api/utils_test.go +++ b/api/utils_test.go @@ -54,7 +54,7 @@ func TestIntValueOrZero(t *testing.T) { } } -func TestInti64ValueOrZero(t *testing.T) { +func TestInt64ValueOrZero(t *testing.T) { cases := map[string]int64{ "": 0, "asdf": 0, diff --git a/cluster/engine.go b/cluster/engine.go index 74e2d82d3c..a59043950a 100644 --- a/cluster/engine.go +++ b/cluster/engine.go @@ -807,7 +807,7 @@ func (e *Engine) Create(config *ContainerConfig, name string, pullImage bool, au return container, err } -// RemoveContainer a container from the engine. +// RemoveContainer removes a container from the engine. func (e *Engine) RemoveContainer(container *Container, force, volumes bool) error { err := e.client.RemoveContainer(container.Id, force, volumes) e.CheckConnectionErr(err)