You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2018/09/11 14:37:47 UTC

[camel-k] branch master updated: Fix typo in print integration context

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

lburgazzoli 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 ff672fb  Fix typo in print integration context
ff672fb is described below

commit ff672fbf54c358fca970da6c59df378c8535d4d8
Author: Dmitry Volodin <dm...@gmail.com>
AuthorDate: Tue Sep 11 17:28:43 2018 +0300

    Fix typo in print integration context
---
 pkg/client/cmd/get.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/client/cmd/get.go b/pkg/client/cmd/get.go
index f2f4648..7ae35ce 100644
--- a/pkg/client/cmd/get.go
+++ b/pkg/client/cmd/get.go
@@ -64,7 +64,7 @@ func (o *GetCmdOptions) run(cmd *cobra.Command, args []string) error {
 	w := tabwriter.NewWriter(os.Stdout, 0, 8, 0, '\t', 0)
 	fmt.Fprintln(w, "NAME\tCONTEXT\tSTATUS")
 	for _, integration := range integrationList.Items {
-		fmt.Fprintf(w, "%s\t%s\t%s\n", integration.Name, integration.Context, string(integration.Status.Phase))
+		fmt.Fprintf(w, "%s\t%s\t%s\n", integration.Name, integration.Spec.Context, string(integration.Status.Phase))
 	}
 	w.Flush()