Skip to content

Commit c48e034

Browse files
committed
fix: resolve gofmt and wsl_v5 lint errors in platform-connectors
1 parent b204395 commit c48e034

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

platform-connectors/pkg/pipeline/factory.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ type Factory func(cfg *Config, opts Options) (Transformer, error)
3636
type DisabledCheck func(ctx context.Context, cfg *Config)
3737

3838
var (
39-
registry = map[string]Factory{}
40-
disabledChecks = map[string]DisabledCheck{}
39+
registry = map[string]Factory{}
40+
disabledChecks = map[string]DisabledCheck{}
4141
)
4242

4343
func Register(name string, factory Factory) {

platform-connectors/pkg/transformers/metadata/transformer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ func (a *Augmentor) Transform(ctx context.Context, event *pb.HealthEvent) error
116116

117117
if metadata.SkipMatched {
118118
event.ProcessingStrategy = pb.ProcessingStrategy_STORE_ONLY
119+
119120
skipLabelGatedCounter.Inc()
120121
span.SetAttributes(
121122
attribute.Bool("metadata.skip_label_matched", true),

0 commit comments

Comments
 (0)