mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 14:14:52 +00:00
refactor: print warnings for all detected unsupported Compose features, not only first one
This commit is contained in:
1 parent
d38312fec6
commit
62976f3338
3 files changed
+85
-61
No files matched your search
@@ -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())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user