refactor: print warnings for all detected unsupported Compose features, not only first one

This commit is contained in:
Pasha Sviderski
2026-03-31 17:08:53 +10:00
parent d38312fec6
commit 62976f3338
3 changed files with 85 additions and 61 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ func LoadProject(ctx context.Context, paths []string, opts ...composecli.Project
return nil, err
}
if err = validateServicesFeatures(project); err != nil {
for _, err = range validateServicesFeatures(project) {
tui.PrintWarning(err.Error())
}