From 4d6f2dbff73f6af28299da74615ee7b3cfab8e89 Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Tue, 27 Oct 2026 11:38:33 +0100 Subject: [PATCH] docs(projectloader): point the comments to the new home of the dependency wait Two comments still located waitDependency's runtime fallback in service_containers.go. Comments only. Part of #14081 Signed-off-by: Nicolas De Loof --- internal/projectloader/unsupported_attributes.go | 2 +- internal/projectloader/unsupported_attributes_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/projectloader/unsupported_attributes.go b/internal/projectloader/unsupported_attributes.go index 5ce98d4df..00174c6a6 100644 --- a/internal/projectloader/unsupported_attributes.go +++ b/internal/projectloader/unsupported_attributes.go @@ -138,7 +138,7 @@ func isUnderAnyOf(path tree.Path, removed map[tree.Path]string) bool { // load — already rejects anything else. There is no unsupported value left // for a real compose file to reach this check with (see // TestDependsOnUnknownConditionIsRejectedBySchema). waitDependency's own -// runtime fallback (service_containers.go) still needs to warn about an +// runtime fallback (dependency_wait.go) still needs to warn about an // unrecognized condition, for the two situations that never go through // schema validation at all: a project rebuilt from container labels, or an // older/newer Compose version's output. diff --git a/internal/projectloader/unsupported_attributes_test.go b/internal/projectloader/unsupported_attributes_test.go index 81d3cb0d8..91889f4cf 100644 --- a/internal/projectloader/unsupported_attributes_test.go +++ b/internal/projectloader/unsupported_attributes_test.go @@ -656,7 +656,7 @@ func TestPresenceUnsupportedAttributes_AreKnownSchemaPaths(t *testing.T) { // the compose-spec schema declares it as a closed enum of the 3 values this // runtime understands, so an unrecognized value never reaches // valueConditionalAttributes — it fails to load at all. waitDependency's -// own runtime fallback in service_containers.go covers the cases that +// own runtime fallback in dependency_wait.go covers the cases that // bypass schema validation entirely (a project rebuilt from container // labels, or one written by a different Compose version). func TestDependsOnUnknownConditionIsRejectedBySchema(t *testing.T) {