fix typo
Signed-off-by: jian liao <jliao@alauda.io>
This commit is contained in:
liaojian 2018-09-08 12:49:37 +08:00 committed by jliao
parent 6ca8355a4e
commit 0120dec799
2 changed files with 3 additions and 3 deletions

View File

@ -171,7 +171,7 @@ func TestNewClient(t *testing.T) {
t.Fatal("New() returned nil client")
}
if err := client.Close(); err != nil {
t.Errorf("client closed returned errror %v", err)
t.Errorf("client closed returned error %v", err)
}
}
@ -340,6 +340,6 @@ func TestClientReconnect(t *testing.T) {
t.Fatal("containerd is not serving")
}
if err := client.Close(); err != nil {
t.Errorf("client closed returned errror %v", err)
t.Errorf("client closed returned error %v", err)
}
}

View File

@ -21,7 +21,7 @@ import (
digest "github.com/opencontainers/go-digest"
)
// The layout where a "/" delineates a bucket is desribed in the following
// The layout where a "/" delineates a bucket is described in the following
// section. Please try to follow this as closely as possible when adding
// functionality. We can bolster this with helpers and more structure if that
// becomes an issue.