Skip to content

Commit

Permalink
feat(torch): some feats and fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
  • Loading branch information
tty47 committed Jan 26, 2024
1 parent 943fac7 commit 8acdfec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func WithMetricsLoadBalancer(loadBalancers []LoadBalancer) error {
// Register the callback with the meter and the Float64ObservableGauge.
_, err = meter.RegisterCallback(callback, loadBalancersGauge)
if err != nil {
log.Error("Error registering callback: %v", err)
log.Error("Error registering callback: ", err)
return err
}

Expand Down Expand Up @@ -207,7 +207,7 @@ func RegisterConsensusNodeMetric(nodeID, nodeName, namespace string) error {
// Register the callback with the meter and the ObservableGauge.
_, err = meter.RegisterCallback(callback, consensusNodeGauge)
if err != nil {
log.Error("Error registering callback: %v", err)
log.Error("Error registering callback: ", err)
return err
}

Expand Down

0 comments on commit 8acdfec

Please sign in to comment.