Skip to content

Commit 75499db

Browse files
author
Kate Osborn
committed
Remove trackUpsertDelete comment
1 parent fc6c68c commit 75499db

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

internal/mode/static/state/store.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,7 @@ type changeTrackingUpdaterObjectTypeCfg struct {
122122
// It only works with objects with the GVKs registered in changeTrackingUpdaterObjectTypeCfg. Otherwise, it panics.
123123
//
124124
// A change is tracked when:
125-
// - An object with a GVK with a non-nil store and trackUpsertDelete set to 'true' is upserted or deleted, provided
126-
// that its generation changed.
127-
// - An object is upserted or deleted, and it is related to another object, based on the decision by
128-
// the relationship capturer.
129-
// - An object is upserted or deleted and the stateChangedPredicate for that object returns true.
125+
// - An object with a GVK with a non-nil store and the stateChangedPredicate for that object returns true.
130126
type changeTrackingUpdater struct {
131127
store *multiObjectStore
132128
capturer relationship.Capturer

0 commit comments

Comments
 (0)