#19746·telegraf

Replace internal/choice.Contains with slices.Contains

Author: SungJin1212Created Sep 18, 2026Updated Sep 18, 2026

Followed up on #19725: internal/choice.Contains is now just a thin wrapper around slices.Contains. We can replace all choice.Contains(x, list) call sites with slices.Contains(list, x).