Skip to content

Commit c1e90f3

Browse files
authored
fix logging for vitualmachine snapshot controller (#3641)
1 parent 08a7bd8 commit c1e90f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/syncer/cnsoperator/controller/virtualmachinesnapshot/virtualmachinesnapshot_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ func (r *ReconcileVirtualMachineSnapshot) syncVolumesAndUpdateCNSVolumeInfo(ctx
502502
val, ok := cnsvolume.BackingObjectDetails.(*cnstypes.CnsBlockBackingDetails)
503503
if ok {
504504
log.Infof("syncVolumesAndUpdateCNSVolumeInfo: fetched aggregated capacity for volume %s "+
505-
"AggregatedSnapshotCapacityInMb %s", cnsvolume.VolumeId.Id, val.AggregatedSnapshotCapacityInMb)
505+
"AggregatedSnapshotCapacityInMb %d", cnsvolume.VolumeId.Id, val.AggregatedSnapshotCapacityInMb)
506506

507507
// Update CNSVolumeInfo with latest aggregated Size and Update SPU used value.
508508
patch, err := common.GetCNSVolumeInfoPatch(ctx, val.AggregatedSnapshotCapacityInMb,

0 commit comments

Comments
 (0)