Skip to content

Commit 63f90a6

Browse files
committed
reconciler: fix incomplete log output
Signed-off-by: Tuomas Katila <[email protected]>
1 parent c55eb2b commit 63f90a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controllers/reconciler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func (r *reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Resu
230230

231231
// Synchronize the DaemonSet with its owner.
232232
if r.controller.UpdateDaemonSet(devicePlugin, ds) {
233-
log.Info("", cmp.Diff(ds0.Spec.Template.Spec, ds.Spec.Template.Spec, diff.IgnoreUnset()))
233+
log.Info("daemonset difference", "diff", cmp.Diff(ds0.Spec.Template.Spec, ds.Spec.Template.Spec, diff.IgnoreUnset()))
234234

235235
if err := r.Update(ctx, ds); err != nil {
236236
log.Error(err, "unable to update DaemonSet", "DaemonSet", ds)

0 commit comments

Comments
 (0)