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)) }