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

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

commit 4c34e1f92406247f83a6420ac24a34372aef8cf1
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Mon Apr 27 11:38:39 2020 +0200

    Camel Cron trait page is rendered incorrectly
---
 pkg/trait/cron.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/trait/cron.go b/pkg/trait/cron.go
index 767a548..b823df5 100644
--- a/pkg/trait/cron.go
+++ b/pkg/trait/cron.go
@@ -47,7 +47,7 @@ import (
 // The rules for using a Kubernetes CronJob are the following:
 // - `timer`: when periods can be written as cron expressions. E.g. 
`timer:tick?period=60000`.
 // - `cron`, `quartz`: when the cron expression does not contain seconds (or 
the "seconds" part is set to 0). E.g.
-//   `cron:tab?schedule=0/2+*+*+*+?` or `quartz:trigger?cron=0+0/2+*+*+*+?`.
+//   `cron:tab?schedule=0/2${plus}*{plus}*{plus}*{plus}?` or 
`quartz:trigger?cron=0{plus}0/2{plus}*{plus}*{plus}*{plus}?`.
 //
 // +camel-k:trait=cron
 type cronTrait struct {

Reply via email to