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