From 0120dec7992aced23067583dcfb1dc5b33ea45f5 Mon Sep 17 00:00:00 2001 From: liaojian Date: Sat, 8 Sep 2018 12:49:37 +0800 Subject: [PATCH] fix typo fix typo Signed-off-by: jian liao --- client_test.go | 4 ++-- metadata/buckets.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client_test.go b/client_test.go index 1b504a3b6..a6b1d5933 100644 --- a/client_test.go +++ b/client_test.go @@ -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) } } diff --git a/metadata/buckets.go b/metadata/buckets.go index fcf4c2959..d0e1600d1 100644 --- a/metadata/buckets.go +++ b/metadata/buckets.go @@ -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.