Skip to content

Commit 2a70697

Browse files
author
Josef Karasek
committed
better log wordings
1 parent d77e1a6 commit 2a70697

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/olm/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ func main() {
260260

261261
// Emit CSV metric
262262
if err = ensureCSVMetric(logger, crClient); err != nil {
263-
logger.WithError(err).Fatalf("error emitting CSV metric")
263+
logger.WithError(err).Fatalf("error emitting metrics for existing CSV")
264264
}
265265

266266
// Start the controller manager
@@ -272,7 +272,7 @@ func main() {
272272
}
273273

274274
func ensureCSVMetric(logger *logrus.Logger, c *versioned.Clientset) error {
275-
logger.Debug("emitting CSV metric")
275+
logger.Debug("emitting metrics for existing CSVs")
276276
listOpts := metav1.ListOptions{}
277277
csvs, err := c.OperatorsV1alpha1().ClusterServiceVersions(metav1.NamespaceAll).List(context.TODO(), listOpts)
278278
if err != nil {

0 commit comments

Comments
 (0)