fixed typos

Signed-off-by: Phil Misiowiec <phil.misiowiec@atlashealth.com>
This commit is contained in:
Philip Misiowiec 2015-05-30 18:19:23 -07:00
parent af987fd3dc
commit 589123441b
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!