Skip to content

Commit 998d32c

Browse files
author
Ryan Zhang
committed
add more tests
1 parent c3bb485 commit 998d32c

File tree

2 files changed

+440
-9
lines changed

2 files changed

+440
-9
lines changed

pkg/controllers/workgenerator/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ func (r *Reconciler) syncAllWork(ctx context.Context, resourceBinding *fleetv1be
456456
}
457457
}
458458
if len(simpleManifests) == 0 {
459-
klog.V(2).InfoS("the snapshot contains enveloped resource only", "snapshot", klog.KObj(snapshot))
459+
klog.V(2).InfoS("the snapshot contains no resource to apply either because of override or enveloped resources", "snapshot", klog.KObj(snapshot))
460460
}
461461
// generate a work object for the manifests even if there is nothing to place
462462
// to allow CRP to collect the status of the placement

0 commit comments

Comments
 (0)