Skip to content

Commit 501fd6f

Browse files
Madhu-1mergify[bot]
authored andcommitted
replication: fix the logging format
Log the details as per the logger format. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
1 parent 2fc1aac commit 501fd6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/controller/replication.storage/volumegroupreplication_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ func (r *VolumeGroupReplicationReconciler) Reconcile(ctx context.Context, req ct
309309
return reconcile.Result{}, nil
310310
}
311311
} else {
312-
r.log.Info("can't delete volumeGroupReplication object yet, as the"+
313-
"dependent resources are not yet deleted (%s/%s)", instance.Namespace, instance.Name)
312+
r.log.Info("cannot delete volumeGroupReplication object yet, as the "+
313+
"dependent resources are not yet deleted", "namespace", instance.Namespace, "name", instance.Name)
314314
return reconcile.Result{
315315
RequeueAfter: 10 * time.Second,
316316
}, nil

0 commit comments

Comments
 (0)