Merge pull request #2984 from bouk/rempo
registry: Fix typo in RepositoryRemover warning
This commit is contained in:
commit
f656e60de5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue