You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/08/04 05:38:57 UTC
[camel-k] branch main updated: chore(trait): don't print command by default
This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push:
new 8fd9c6211 chore(trait): don't print command by default
8fd9c6211 is described below
commit 8fd9c62113bac810d590da7b16b7876bb276782b
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Aug 3 15:19:35 2023 +0200
chore(trait): don't print command by default
---
pkg/trait/jvm.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/trait/jvm.go b/pkg/trait/jvm.go
index a80a6bf02..68f603a06 100644
--- a/pkg/trait/jvm.go
+++ b/pkg/trait/jvm.go
@@ -237,7 +237,7 @@ func (t *jvmTrait) Apply(e *Environment) error {
args = append(args, e.CamelCatalog.Runtime.ApplicationClass)
- if pointer.BoolDeref(t.PrintCommand, true) {
+ if pointer.BoolDeref(t.PrintCommand, false) {
args = append([]string{"exec", "java"}, args...)
container.Command = []string{"/bin/sh", "-c"}
cmd := strings.Join(args, " ")