Merge pull request #574 from philm/fix-typos

fixed typos
This commit is contained in:
Olivier Gambier 2015-05-31 17:49:36 -07:00
commit 780e630b55
2 changed files with 2 additions and 2 deletions

View file

@ -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"])
}
}
}

View file

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