Skip to content

Commit

Permalink
chore(trait): don't print command by default
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Aug 4, 2023
1 parent 2881ba6 commit 8fd9c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/trait/jvm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, " ")
Expand Down

0 comments on commit 8fd9c62

Please sign in to comment.