From 7dc4430ba911a6f370556822fa1a5976cdad2964 Mon Sep 17 00:00:00 2001 From: clonefetch Date: Mon, 8 Apr 2024 18:13:10 +0800 Subject: [PATCH] chore: fix function name in comment Signed-off-by: clonefetch --- pkg/controllers/syncer/syncer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controllers/syncer/syncer_test.go b/pkg/controllers/syncer/syncer_test.go index 660e5447d..22583e5c5 100644 --- a/pkg/controllers/syncer/syncer_test.go +++ b/pkg/controllers/syncer/syncer_test.go @@ -47,7 +47,7 @@ func (s *mockSyncer) naiveTranslateUpdate(ctx *synccontext.SyncContext, vObj cli return newPObj } -// SyncDown is called when a virtual object was created and needs to be synced down to the physical cluster +// SyncToHost is called when a virtual object was created and needs to be synced down to the physical cluster func (s *mockSyncer) SyncToHost(ctx *synccontext.SyncContext, vObj client.Object) (ctrl.Result, error) { return s.SyncToHostCreate(ctx, vObj, s.naiveTranslateCreate(ctx, vObj)) }