Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: FlamingSaint <[email protected]>
  • Loading branch information
FlamingSaint committed Jul 24, 2024
1 parent 64afe89 commit 0301e64
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugin/metrics/prometheus/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ func NewFactoryWithConfig(
f.options = &Options{
Configuration: cfg,
}
err := f.Initialize(logger)
if err != nil {
return nil, err
}
f.Initialize(logger)

return f, nil
}

0 comments on commit 0301e64

Please sign in to comment.