fix warning message

This commit is contained in:
Tan Jiang 2017-03-20 18:13:50 +08:00
parent 5017199885
commit aa769dbfa8

View File

@ -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{}{}