mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
fix warning message
This commit is contained in:
parent
5017199885
commit
aa769dbfa8
@ -232,7 +232,7 @@ func (ra *RepositoryAPI) Delete() {
|
||||
targets, err := getNotaryTargets(user, repoName)
|
||||
if err != nil {
|
||||
log.Errorf("Failed to get Notary targets for repository: %s, error: %v", repoName, err)
|
||||
log.Warningf("Failed to check signature status of repository: %s for deletion, there maybe orphaned targets in Notary.")
|
||||
log.Warningf("Failed to check signature status of repository: %s for deletion, there maybe orphaned targets in Notary.", repoName)
|
||||
}
|
||||
for _, tgt := range targets {
|
||||
signedTags[tgt.Tag] = struct{}{}
|
||||
|
Loading…
Reference in New Issue
Block a user