From 231e94452d627b74054231f7e9991480521c6810 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Fri, 1 Nov 2024 14:49:33 +0800 Subject: [PATCH] use 2 braces for int type in templates only test Signed-off-by: Wei Liu --- test/e2e/pkg/sourceclient_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/e2e/pkg/sourceclient_test.go b/test/e2e/pkg/sourceclient_test.go index 3a1c9086..3d5f7d85 100644 --- a/test/e2e/pkg/sourceclient_test.go +++ b/test/e2e/pkg/sourceclient_test.go @@ -418,10 +418,12 @@ func StartWatch(ctx context.Context, watcher watch.Interface) *WatchedResult { switch event.Type { case watch.Modified: if work, ok := event.Object.(*workv1.ManifestWork); ok { + fmt.Printf("=====> modified, %v, %v\n", work.CreationTimestamp, work.DeletionTimestamp) result.WatchedWorks = append(result.WatchedWorks, work) } case watch.Deleted: if work, ok := event.Object.(*workv1.ManifestWork); ok { + fmt.Printf("=====> deleted, %v, %v\n", work.CreationTimestamp, work.DeletionTimestamp) result.WatchedWorks = append(result.WatchedWorks, work) } }