Skip to content

Commit

Permalink
chore: fix function name in comment
Browse files Browse the repository at this point in the history
Signed-off-by: clonefetch <c0217@outlook.com>
  • Loading branch information
clonefetch committed Apr 8, 2024
1 parent 8e03e13 commit 7dc4430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/syncer/syncer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 7dc4430

Please sign in to comment.