Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions controllers/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ func (r *DPAReconciler) getMatchedKeyValue(key string, s string) (string, error)
s = strings.TrimPrefix(s, prefix)
}
if len(s) == 0 {
r.Log.Info("Could not parse secret for %s", key)
return s, errors.New(key + " secret parsing error")
r.Log.Info(fmt.Sprintf("Could not parse secret for %s", key))
return s, errors.New("secret parsing error in key " + key)
}
return s, nil
}
Expand Down