Skip to content

Commit

Permalink
better factoring
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineJac committed Nov 7, 2023
1 parent 4866ff4 commit 6bc437f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -945,9 +945,9 @@ func (b *stateBuilder) plugins() {
}

var plugins []FPlugin
sharedEntities := make(map[string]bool)
for _, p := range b.targetContent.Plugins {
p := p
sharedEntities := make(map[string]bool)
if p.SharedTag != nil && !sharedEntities[*p.SharedTag] {
consumersGlobal, err := dump.GetAllConsumers(b.ctx, b.client, []string{*p.SharedTag})
for _, c := range consumersGlobal {
Expand Down

0 comments on commit 6bc437f

Please sign in to comment.