diff --git a/docs/handlers/app.go b/docs/handlers/app.go index 1d58e9454..561c45cb9 100644 --- a/docs/handlers/app.go +++ b/docs/handlers/app.go @@ -122,7 +122,7 @@ func NewApp(ctx context.Context, configuration configuration.Configuration) *App ctxu.GetLogger(app).Infof("using inmemory blob descriptor cache") default: if v != "" { - ctxu.GetLogger(app).Warnf("unkown cache type %q, caching disabled", configuration.Storage["cache"]) + ctxu.GetLogger(app).Warnf("unknown cache type %q, caching disabled", configuration.Storage["cache"]) } } } diff --git a/docs/storage/blob_test.go b/docs/storage/blob_test.go index 114e686f6..569f756da 100644 --- a/docs/storage/blob_test.go +++ b/docs/storage/blob_test.go @@ -59,7 +59,7 @@ func TestSimpleBlobUpload(t *testing.T) { // Do a resume, get unknown upload blobUpload, err = bs.Resume(ctx, blobUpload.ID()) if err != distribution.ErrBlobUploadUnknown { - t.Fatalf("unexpected error resuming upload, should be unkown: %v", err) + t.Fatalf("unexpected error resuming upload, should be unknown: %v", err) } // Restart!