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 2020/02/24 13:52:54 UTC
[camel-k] 09/14: Fix #1199: add old logs for cases where events are
not generated
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
commit 8f41cf794d678dc99e61be83a698eb29677c4180
Author: Nicola Ferraro <ni...@gmail.com>
AuthorDate: Fri Feb 21 10:58:33 2020 +0100
Fix #1199: add old logs for cases where events are not generated
---
pkg/cmd/run.go | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pkg/cmd/run.go b/pkg/cmd/run.go
index e6dee28..35e43e0 100644
--- a/pkg/cmd/run.go
+++ b/pkg/cmd/run.go
@@ -303,6 +303,10 @@ func (o *runCmdOptions) waitForIntegrationReady(cmd *cobra.Command, integration
//
// TODO when we add health checks, we should Wait until they are passed
//
+ if i.Status.Phase != "" {
+ // TODO remove this log when we make sure that events are always created
+ fmt.Printf("progress: integration %q in phase %s\n", integration.Name, string(i.Status.Phase))
+ }
if i.Status.Phase == v1.IntegrationPhaseRunning || i.Status.Phase == v1.IntegrationPhaseError {
return false
}