mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-02 07:18:01 +02:00
fix go vet issue
This commit is contained in:
parent
1b3043f901
commit
5017199885
@ -239,7 +239,7 @@ func (ra *RepositoryAPI) Delete() {
|
||||
}
|
||||
for _, t := range tags {
|
||||
if _, ok = signedTags[t]; ok {
|
||||
log.Errorf("Found signed tag, repostory: %s, tag: %s, deletion will be canceled")
|
||||
log.Errorf("Found signed tag, repostory: %s, tag: %s, deletion will be canceled", repoName, t)
|
||||
ra.CustomAbort(http.StatusPreconditionFailed, fmt.Sprintf("tag %s is signed", t))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user