mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
feat(volumes): create and mount data volumes when running service with 'uc run' command
This commit is contained in:
+1
-1
@@ -168,7 +168,7 @@ func (s *ContainerSpec) SetDefaults() ContainerSpec {
|
||||
|
||||
func (s *ContainerSpec) Validate() error {
|
||||
if _, err := reference.ParseDockerRef(s.Image); err != nil {
|
||||
return fmt.Errorf("invalid image: %w", err)
|
||||
return fmt.Errorf("invalid image '%s': %w", s.Image, err)
|
||||
}
|
||||
|
||||
for _, m := range s.VolumeMounts {
|
||||
|
||||
Reference in New Issue
Block a user