File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ func (TypedResourceVersionChangedPredicate[T]) Update(e event.TypedUpdateEvent[T
173
173
// The metadata.generation field of an object is incremented by the API server when writes are made to the spec field of an object.
174
174
// This allows a controller to ignore update events where the spec is unchanged, and only the metadata and/or status fields are changed.
175
175
//
176
- // For CustomResource objects the Generation is only incremented when the status subresource is enabled.
176
+ // For CustomResource objects the Generation is only incremented when the status subresource is not enabled.
177
177
//
178
178
// Caveats:
179
179
//
@@ -191,7 +191,7 @@ type GenerationChangedPredicate = TypedGenerationChangedPredicate[client.Object]
191
191
// The metadata.generation field of an object is incremented by the API server when writes are made to the spec field of an object.
192
192
// This allows a controller to ignore update events where the spec is unchanged, and only the metadata and/or status fields are changed.
193
193
//
194
- // For CustomResource objects the Generation is only incremented when the status subresource is enabled.
194
+ // For CustomResource objects the Generation is only incremented when the status subresource is not enabled.
195
195
//
196
196
// Caveats:
197
197
//
You can’t perform that action at this time.
0 commit comments