This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 5e384fea22bf90058482c415d3d419b9a4db37f6 Author: John Poth <poth.j...@gmail.com> AuthorDate: Wed Sep 1 14:18:01 2021 +0200 Fix #2553: Fix client --- pkg/cmd/run.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/run.go b/pkg/cmd/run.go index 95fcefc..45e1ce2 100644 --- a/pkg/cmd/run.go +++ b/pkg/cmd/run.go @@ -75,7 +75,7 @@ func newCmdRun(rootCmdOptions *RootCmdOptions) (*cobra.Command, *runCmdOptions) } cmd.Flags().String("name", "", "The integration name") - cmd.Flags().StringArrayP("connect", "c", nil, "A ServiceBinding or Provisioned Service that the integration should bind to, specified as [[apigroup/]version:]kind:[namespace/]name") + cmd.Flags().StringArrayP("connect", "c", nil, "A Service that the integration should bind to, specified as [[apigroup/]version:]kind:[namespace/]name") cmd.Flags().StringArrayP("dependency", "d", nil, "A dependency that should be included, e.g., \"-d camel-mail\" for a Camel component, or \"-d mvn:org.my:app:1.0\" for a Maven dependency") cmd.Flags().BoolP("wait", "w", false, "Wait for the integration to be running") cmd.Flags().StringP("kit", "k", "", "The kit used to run the integration") @@ -700,7 +700,7 @@ func (o *runCmdOptions) GetIntegrationName(sources []string) string { func (o *runCmdOptions) configureTraits(integration *v1.Integration, options []string, catalog *trait.Catalog) error { // configure ServiceBinding trait for _, sb := range o.Connects { - bindings := fmt.Sprintf("service-binding.service-bindings=%s", sb) + bindings := fmt.Sprintf("service-binding.services=%s", sb) options = append(options, bindings) } traits, err := configureTraits(options, catalog)