From 9ec70b46044dbf85096f1891f063952e4055b0fa Mon Sep 17 00:00:00 2001 From: oab24413gmai Date: Fri, 15 May 2026 19:41:22 +0000 Subject: [PATCH] Fix typo 'dependant' to 'dependent' in convergence.go --- pkg/compose/convergence.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/compose/convergence.go b/pkg/compose/convergence.go index 6a5d950070..238a989a5a 100644 --- a/pkg/compose/convergence.go +++ b/pkg/compose/convergence.go @@ -442,7 +442,7 @@ func containerReasonEvents(containers Containers, eventFunc func(string, string) const ServiceConditionRunningOrHealthy = "running_or_healthy" //nolint:gocyclo -func (s *composeService) waitDependencies(ctx context.Context, project *types.Project, dependant string, dependencies types.DependsOnConfig, containers Containers, timeout time.Duration) error { +func (s *composeService) waitDependencies(ctx context.Context, project *types.Project, dependent string, dependencies types.DependsOnConfig, containers Containers, timeout time.Duration) error { if timeout > 0 { withTimeout, cancelFunc := context.WithTimeout(ctx, timeout) defer cancelFunc() @@ -460,9 +460,9 @@ func (s *composeService) waitDependencies(ctx context.Context, project *types.Pr s.events.On(containerEvents(waitingFor, waiting)...) if len(waitingFor) == 0 { if config.Required { - return fmt.Errorf("%s is missing dependency %s", dependant, dep) + return fmt.Errorf("%s is missing dependency %s", dependent, dep) } - logrus.Warnf("%s is missing dependency %s", dependant, dep) + logrus.Warnf("%s is missing dependency %s", dependent, dep) continue }