parse --publish ports into spec

This commit is contained in:
Pavel Sviderski committed 2024-12-10 17:57:26 +10:00
1 parent deedbcb8a9
commit e8908ced9e
4 files changed
+25 -8

No files matched your search

+2
View File
@@ -32,6 +32,8 @@ func (s *ServiceSpec) Validate() error {
return fmt.Errorf("invalid mode: %q", s.Mode)
}
// TODO: validate there is no conflict between ports.
return nil
}