You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/03/26 16:44:00 UTC

[camel] branch camel-3.20.x updated: CAMEL-19200: camel-jbang - Last ago column did not show value in route-controller command. Thanks to Dmitrii Kriukov for reporting.

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.20.x by this push:
     new ed93b959b23 CAMEL-19200: camel-jbang - Last ago column did not show value in route-controller command. Thanks to Dmitrii Kriukov for reporting.
ed93b959b23 is described below

commit ed93b959b232f0dfac9ffc1ce789b4e6b49fd685
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Mar 26 18:43:18 2023 +0200

    CAMEL-19200: camel-jbang - Last ago column did not show value in route-controller command. Thanks to Dmitrii Kriukov for reporting.
---
 .../camel/dsl/jbang/core/commands/action/RouteControllerAction.java      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/RouteControllerAction.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/RouteControllerAction.java
index 8cd3a722151..900c32fc834 100644
--- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/RouteControllerAction.java
+++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/RouteControllerAction.java
@@ -269,6 +269,7 @@ public class RouteControllerAction extends ActionWatchCommand {
             if (r.elapsed != null && !r.elapsed.isEmpty()) {
                 s += " (" + r.elapsed + ")";
             }
+            return s;
         }
         return "";
     }