Skip to content

Commit 4d97138

Browse files
authored
fix: Remove duplicate loop (kubernetes-sigs#2564)
1 parent 0ff1d13 commit 4d97138

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/epp/datalayer/data_graph.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ func ValidateAndOrderDataDependencies(plugins []plugin.Plugin) ([]string, error)
3535
for _, p := range plugins {
3636
pluginMap[p.TypedName().String()] = p
3737
}
38-
for _, p := range plugins {
39-
pluginMap[p.TypedName().String()] = p
40-
}
4138
producers := make(map[string]plugin.ProducerPlugin)
4239
consumers := make(map[string]plugin.ConsumerPlugin)
4340
for name, p := range pluginMap {

0 commit comments

Comments
 (0)