Use a generic Set instead of a specified Set in kubelet

Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
This commit is contained in:
Kubernetes Prow Robot
2023-11-04 17:19:13 +01:00
committed by bzsuni
parent 5bf1e95541
commit a8d51f4f05
35 changed files with 103 additions and 103 deletions

View File

@@ -131,7 +131,7 @@ func TestPluginRegistration(t *testing.T) {
stopChan := make(chan struct{})
defer close(stopChan)
go func() {
sourcesReady := config.NewSourcesReady(func(_ sets.String) bool { return true })
sourcesReady := config.NewSourcesReady(func(_ sets.Set[string]) bool { return true })
pluginManager.Run(sourcesReady, stopChan)
}()