camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [camel-k] squakez commented on a change in pull request #2575: fix(cmd/bind): show expected kameletbinding
Date Thu, 19 Aug 2021 13:51:07 GMT

squakez commented on a change in pull request #2575:
URL: https://github.com/apache/camel-k/pull/2575#discussion_r692130298



##########
File path: pkg/cmd/bind.go
##########
@@ -206,6 +193,34 @@ func (o *bindCmdOptions) run(args []string) error {
 	return nil
 }
 
+func showOutput(cmd *cobra.Command, binding *v1alpha1.KameletBinding, outputFormat string)
error {

Review comment:
       I've just committed the changes. Thanks for the suggestion, it looks very neat now
and hopefully we can reuse this logic for any other runtime object! Please, have a look if
it fits with what you had in mind.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message