registry: Fix typo in RepositoryRemover warning
Signed-off-by: Bouke van der Bijl <me@bou.ke>
This commit is contained in:
parent
1fb7fffdb2
commit
1c481d34d9
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