From 4f6535a5dcf98247d1c0086248c622460a469b97 Mon Sep 17 00:00:00 2001 From: Matthias Wessendorf Date: Wed, 20 Nov 2024 15:12:01 +0100 Subject: [PATCH] chore: correct comments (#8336) :lipstick: correct comments ... Signed-off-by: Matthias Wessendorf --- pkg/apis/sources/v1alpha1/integration_lifecycle.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/sources/v1alpha1/integration_lifecycle.go b/pkg/apis/sources/v1alpha1/integration_lifecycle.go index 4f25e70e520..cc1270fb8b2 100644 --- a/pkg/apis/sources/v1alpha1/integration_lifecycle.go +++ b/pkg/apis/sources/v1alpha1/integration_lifecycle.go @@ -26,7 +26,7 @@ const ( // IntegrationSourceConditionReady has status True when the IntegrationSource is ready to send events. IntegrationSourceConditionReady = apis.ConditionReady - // IntegrationSourceConditionReceiveAdapterReady has status True when the IntegrationSource's Deployment is ready. + // IntegrationSourceConditionContainerSourceReady has status True when the IntegrationSource's ContainerSource is ready. IntegrationSourceConditionContainerSourceReady apis.ConditionType = "ContainerSourceReady" ) @@ -54,7 +54,7 @@ func (iss *IntegrationSourceStatus) IsReady() bool { } func (s *IntegrationSourceStatus) PropagateContainerSourceStatus(status *v1.ContainerSourceStatus) { - //// Do not copy conditions nor observedGeneration + // ContainerSource status has all we need, hence deep copy it. s.SourceStatus = *status.SourceStatus.DeepCopy() cond := status.GetCondition(apis.ConditionReady)