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

[camel-k] 10/12: Remove TODO comment. Remove printing of dependencies when running locally.

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

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

commit 8bcff84a76e96f3fa98e3b32e82c180335b00f44
Author: Doru Bercea <gh...@ibm.com>
AuthorDate: Fri Nov 13 12:08:54 2020 -0500

    Remove TODO comment. Remove printing of dependencies when running locally.
---
 pkg/cmd/local_run.go     | 6 ------
 pkg/cmd/util_commands.go | 2 --
 2 files changed, 8 deletions(-)

diff --git a/pkg/cmd/local_run.go b/pkg/cmd/local_run.go
index 654ffce..4a68877 100644
--- a/pkg/cmd/local_run.go
+++ b/pkg/cmd/local_run.go
@@ -96,12 +96,6 @@ func (command *localRunCmdOptions) run(args []string) error {
 		return err
 	}
 
-	// Print dependencies.
-	err = outputDependencies(dependencies, "")
-	if err != nil {
-		return err
-	}
-
 	// Run the integration locally.
 	err = RunLocalIntegration(command.PropertyFiles, dependencies, args)
 	if err != nil {
diff --git a/pkg/cmd/util_commands.go b/pkg/cmd/util_commands.go
index 5ec0a34..b44243a 100644
--- a/pkg/cmd/util_commands.go
+++ b/pkg/cmd/util_commands.go
@@ -82,9 +82,7 @@ func RunLocalIntegration(properties []string, dependencies []string, routes []st
 	cmd := exec.CommandContext(ctx, javaCmd, args...)
 	cmd.Stderr = os.Stderr
 	cmd.Stdout = os.Stdout
-	// cmd.Dir = ctx.Path
 
-	// TODO: for debug purposes, remove when done.
 	fmt.Printf("executing: %s", strings.Join(cmd.Args, " "))
 
 	// Add directory where the properties file resides.