Merge pull request #2984 from bouk/rempo

registry: Fix typo in RepositoryRemover warning
This commit is contained in:
Ryan Abrams 2019-09-05 08:23:18 -07:00 committed by GitHub
commit f656e60de5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -328,7 +328,7 @@ func NewApp(ctx context.Context, config *configuration.Configuration) *App {
var ok bool var ok bool
app.repoRemover, ok = app.registry.(distribution.RepositoryRemover) app.repoRemover, ok = app.registry.(distribution.RepositoryRemover)
if !ok { if !ok {
dcontext.GetLogger(app).Warnf("Registry does not implement RempositoryRemover. Will not be able to delete repos and tags") dcontext.GetLogger(app).Warnf("Registry does not implement RepositoryRemover. Will not be able to delete repos and tags")
} }
return app return app