Merge pull request #4637 from ywk253100/180412_bugfix

Bug fix
This commit is contained in:
Daniel Jiang 2018-04-13 19:39:50 +08:00 committed by GitHub
commit 63ad0efd4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -324,7 +324,7 @@ func (ra *RepositoryAPI) Delete() {
return
}
if repository == nil {
ra.HandleNotFound(fmt.Sprintf("repository %s not found", repoName))
log.Warningf("the repository %s not found after deleting tags", repoName)
return
}