From 6eadd3f4dc3fedeebe231af218fe932654bdb905 Mon Sep 17 00:00:00 2001 From: bin liu Date: Wed, 22 Jun 2016 12:40:21 +0800 Subject: [PATCH] fix typos Signed-off-by: bin liu --- docs/api/errcode/register.go | 2 +- docs/storage/manifeststore.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/errcode/register.go b/docs/api/errcode/register.go index 71cf6f7a..d1e8826c 100644 --- a/docs/api/errcode/register.go +++ b/docs/api/errcode/register.go @@ -55,7 +55,7 @@ var ( HTTPStatusCode: http.StatusForbidden, }) - // ErrorCodeUnavailable provides a common error to report unavialability + // ErrorCodeUnavailable provides a common error to report unavailability // of a service or endpoint. ErrorCodeUnavailable = Register("errcode", ErrorDescriptor{ Value: "UNAVAILABLE", diff --git a/docs/storage/manifeststore.go b/docs/storage/manifeststore.go index 68483c95..9e8065bb 100644 --- a/docs/storage/manifeststore.go +++ b/docs/storage/manifeststore.go @@ -123,7 +123,7 @@ func (ms *manifestStore) Put(ctx context.Context, manifest distribution.Manifest return "", fmt.Errorf("unrecognized manifest type %T", manifest) } -// Delete removes the revision of the specified manfiest. +// Delete removes the revision of the specified manifest. func (ms *manifestStore) Delete(ctx context.Context, dgst digest.Digest) error { context.GetLogger(ms.ctx).Debug("(*manifestStore).Delete") return ms.blobStore.Delete(ctx, dgst)