Skip to content

Commit

Permalink
chore: tiny cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mojtaba-esk committed Nov 14, 2024
1 parent 2a84cfd commit a2b3b2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ func E2ESimple(logger *logrus.Logger) error {
MetricName: buildInfoMetricName,
Labels: map[string]string{instanceMetricName: nodeID},
})
logger.Infof("node: %s, metric value: %v", n.Name, value)
if err == nil {
logger.Infof("node: %s, metric value: %v", n.Name, value)
}
return err
}, metricRetryInterval, metricRetryTimeout)

Expand Down

0 comments on commit a2b3b2b

Please sign in to comment.