Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineJac committed Sep 18, 2024
1 parent 89c89e6 commit b49f6a2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
21 changes: 0 additions & 21 deletions pkg/dump/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,27 +292,6 @@ func getProxyConfiguration(ctx context.Context, group *errgroup.Group,
return fmt.Errorf("plugins: %w", err)
}

if config.LookUpSelectorTagsConsumerGroups != nil {
globalConsumerGroupsPlugins, err := GetAllPlugins(ctx, client, config.LookUpSelectorTagsConsumerGroups)
if err != nil {
return fmt.Errorf("error retrieving global plugins: %w", err)
}
// if globalServices are not present, add them.

for _, globalConsumerGroupsPlugin := range globalConsumerGroupsPlugins {
found := false
for _, plugin := range plugins {
if *globalConsumerGroupsPlugin.ID == *plugin.ID {
found = true
break
}
}
if !found {
plugins = append(plugins, globalConsumerGroupsPlugin)
}
}
}

plugins = excludeKonnectManagedPlugins(plugins)

if config.SkipConsumers {
Expand Down
1 change: 0 additions & 1 deletion pkg/file/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,6 @@ func (b *stateBuilder) ingestService(s *FService) error {
utils.MustMergeTags(&s.Service, b.selectTags)
}

// utils.MustMergeTags(&s, b.selectTags)
b.defaulter.MustSet(&s.Service)
if svc != nil {
s.Service.CreatedAt = svc.CreatedAt
Expand Down

0 comments on commit b49f6a2

Please sign in to comment.