fix typos in a test file and a function annotation

Signed-off-by: Sun Hongliang <allen.sun@daocloud.io>
This commit is contained in:
Sun Hongliang 2016-03-05 00:39:15 +08:00
parent 313db93c08
commit c34a45023f
2 changed files with 2 additions and 2 deletions

View File

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

View File

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