You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2019/10/02 07:55:16 UTC

[camel-k] 01/05: fix(knative): Fix Knative service available condition

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

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 63522f593a2e6a74cd706e96fb481e2c25b53dde
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Thu Sep 26 14:57:31 2019 +0200

    fix(knative): Fix Knative service available condition
---
 pkg/trait/knative_service.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/trait/knative_service.go b/pkg/trait/knative_service.go
index ad622b9..0c395ae 100644
--- a/pkg/trait/knative_service.go
+++ b/pkg/trait/knative_service.go
@@ -142,7 +142,7 @@ func (t *knativeServiceTrait) Apply(e *Environment) error {
 	e.Resources.Add(ksvc)
 
 	e.Integration.Status.SetCondition(
-		v1alpha1.IntegrationConditionDeploymentAvailable,
+		v1alpha1.IntegrationConditionKnativeServiceAvailable,
 		corev1.ConditionTrue,
 		v1alpha1.IntegrationConditionKnativeServiceAvailableReason,
 		ksvc.Name,