fix: Print `strings.Builder` by calling `String()` explicitly.
The `String()` method is only defined for the pointer receiver. Signed-off-by: Florian Forster <fforster@gitlab.com>
This commit is contained in:
parent
8be37ef1d2
commit
fa3022443c
|
@ -1027,7 +1027,7 @@ func (r *GitRepositoryReconciler) verifySignature(ctx context.Context, obj *sour
|
|||
reason := meta.SucceededReason
|
||||
mode := obj.Spec.Verification.GetMode()
|
||||
obj.Status.SourceVerificationMode = &mode
|
||||
conditions.MarkTrue(obj, sourcev1.SourceVerifiedCondition, reason, "%v", message)
|
||||
conditions.MarkTrue(obj, sourcev1.SourceVerifiedCondition, reason, "%s", message.String())
|
||||
r.eventLogf(ctx, obj, eventv1.EventTypeTrace, reason, message.String())
|
||||
return sreconcile.ResultSuccess, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue