Skip to content

Commit c5fd900

Browse files
omris94amitlicht
andauthored
Update src/operator/controllers/approved_intents_controller.go
Co-authored-by: Amit Lichtenberg <amitlicht@gmail.com>
1 parent b4bc4a0 commit c5fd900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operator/controllers/approved_intents_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ func (r *ApprovedIntentsReconciler) getIntentsToService(ctx context.Context, ser
309309
return intentsToReconcile
310310
}
311311

312-
// InitIntentsServerIndices indexes intents by target server name
312+
// InitIntentsServerIndices indexes ApprovedClientIntents by target server name
313313
// This is used in finalizers to determine whether a network policy should be removed from the target namespace
314314
func (r *ApprovedIntentsReconciler) InitIntentsServerIndices(mgr ctrl.Manager) error {
315315
err := mgr.GetCache().IndexField(

0 commit comments

Comments
 (0)