You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jamesnetherton (via GitHub)" <gi...@apache.org> on 2023/04/17 09:11:01 UTC

[GitHub] [camel-quarkus-examples] jamesnetherton commented on a diff in pull request #139: ObservabilityTest.metrics in examples fails #4773

jamesnetherton commented on code in PR #139:
URL: https://github.com/apache/camel-quarkus-examples/pull/139#discussion_r1168237749


##########
observability/src/test/java/org/acme/observability/ObservabilityTest.java:
##########
@@ -52,7 +52,7 @@ public void metrics() {
         long camelMetricCount = path.getMap("$.")
                 .keySet()
                 .stream()
-                .filter(key -> key.toString().startsWith("Camel"))
+                .filter(key -> key.toString().startsWith("camel"))

Review Comment:
   ```suggestion
                   .filter(key -> key.toString().toLowerCase().startsWith("camel"))
   ```
   
   This way it'll work for both the CQ `main` branch and `camel-main`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org