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 318af0b1ce
commit 1f31f595d9
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") ctxu.GetLogger(app).Infof("using inmemory blob descriptor cache")
default: default:
if v != "" { 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 // Do a resume, get unknown upload
blobUpload, err = bs.Resume(ctx, blobUpload.ID()) blobUpload, err = bs.Resume(ctx, blobUpload.ID())
if err != distribution.ErrBlobUploadUnknown { 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! // Restart!