You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/03/17 17:10:35 UTC

[camel-k] 01/02: Fixes #1350 Remove human-readable format from timer period computation in cron trait, fixed cr-example in deploy

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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 6355cc350ff20e5f75dcdcaff3c7c0a6f7711ca3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 17 18:08:50 2020 +0100

    Fixes #1350 Remove human-readable format from timer period computation in cron trait, fixed cr-example in deploy
---
 deploy/cr-example.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/deploy/cr-example.yaml b/deploy/cr-example.yaml
index da01fde..e361ab5 100644
--- a/deploy/cr-example.yaml
+++ b/deploy/cr-example.yaml
@@ -26,7 +26,7 @@ spec:
 
       rnd = new Random()
 
-      from('timer:groovy?period=1s')
+      from('timer:groovy?period=1000')
           .routeId('groovy')
           .setBody()
               .constant('Hello Camel K!')
@@ -34,4 +34,4 @@ spec:
               it.in.headers['RandomValue'] = rnd.nextInt()
           }
           .to('log:info?showHeaders=true')
-    name: routes.groovy
\ No newline at end of file
+    name: routes.groovy