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


The following commit(s) were added to refs/heads/master by this push:
     new 9ea7ff5   #1511 - fix  - remove leftover print code
9ea7ff5 is described below

commit 9ea7ff5846a6f7a808a34197b42b5a9db7a5fafc
Author: Ioannis Polyzos <i.poly...@gmail.com>
AuthorDate: Wed Jun 10 12:07:25 2020 +0100

     #1511 - fix
     - remove leftover print code
---
 pkg/cmd/trait_help.go | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/pkg/cmd/trait_help.go b/pkg/cmd/trait_help.go
index 0e2143d..ff15c38 100644
--- a/pkg/cmd/trait_help.go
+++ b/pkg/cmd/trait_help.go
@@ -108,11 +108,6 @@ func (command *traitHelpCommandOptions) run(cmd 
*cobra.Command, args []string) e
        if err != nil {
                return err
        }
-       res, err := yaml.Marshal(traitMetaData)
-       if err != nil {
-               return err
-       }
-       fmt.Fprintln(cmd.OutOrStdout(), string(res))
 
        for _, tp := range v1.AllTraitProfiles {
                traits := catalog.TraitsForProfile(tp)

Reply via email to