Skip to content

Commit

Permalink
fix: Remove duplicate definitions
Browse files Browse the repository at this point in the history
Signed-off-by: liuhuajian <[email protected]>
  • Loading branch information
liuhuajian committed Sep 21, 2023
1 parent fd2f36c commit 98fe21d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/core/data/application/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ func NewCoreDataApp(dic *di.Container) *CoreDataApp {
}
app.lc.Infof("Registered metrics counter %s", eventsPersistedMetricName)

app.readingsPersistedCounter = gometrics.NewCounter()
if err := metricsManager.Register(readingsPersistedMetricName, app.readingsPersistedCounter, nil); err != nil {
app.lc.Errorf("%s metrics will not be collected: %s", readingsPersistedMetricName, err.Error())
}
Expand Down

0 comments on commit 98fe21d

Please sign in to comment.