KuthumiPepple commented on a change in pull request #3153:
URL: https://github.com/apache/camel-k/pull/3153#discussion_r839053755



##########
File path: pkg/cmd/delete.go
##########
@@ -139,14 +139,14 @@ func getIntegration(ctx context.Context, c client.Client, 
name string, namespace
        return &answer, nil
 }
 
-func deleteIntegration(ctx context.Context, c client.Client, integration 
*v1.Integration) error {
+func deleteIntegration(cmd *cobra.Command, ctx context.Context, c 
client.Client, integration *v1.Integration) error {
        deleted, binding, err := deleteKameletBindingIfExists(ctx, c, 
integration)
        if err != nil {
                return err
        }
        if deleted {
                // Deleting KameletBinding will automatically clean up the 
integration
-               fmt.Println("KameletBinding " + binding + " deleted")
+               fmt.Fprintln(cmd.OutOrStdout(),"KameletBinding " + binding + " 
deleted")

Review comment:
       fixed




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to