Skip to content

Commit

Permalink
chore: correct comments (#8336)
Browse files Browse the repository at this point in the history
💄 correct comments ...

Signed-off-by: Matthias Wessendorf <[email protected]>
  • Loading branch information
matzew authored Nov 20, 2024
1 parent ebe99e6 commit 4f6535a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/sources/v1alpha1/integration_lifecycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 4f6535a

Please sign in to comment.