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) {