Skip to content

Commit

Permalink
better log wordings
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Karasek committed Jul 12, 2021
1 parent d77e1a6 commit 2a70697
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/olm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func main() {

// Emit CSV metric
if err = ensureCSVMetric(logger, crClient); err != nil {
logger.WithError(err).Fatalf("error emitting CSV metric")
logger.WithError(err).Fatalf("error emitting metrics for existing CSV")
}

// Start the controller manager
Expand All @@ -272,7 +272,7 @@ func main() {
}

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

0 comments on commit 2a70697

Please sign in to comment.