зеркало из https://github.com/docker/compose.git
push: Fix error message typo
Signed-off-by: Chris Crone <christopher.crone@docker.com>
This commit is contained in:
Родитель
26064d4b60
Коммит
eeea049f17
|
@ -63,7 +63,7 @@ func (s *composeService) push(ctx context.Context, project *types.Project, optio
|
|||
for _, service := range project.Services {
|
||||
if service.Build == nil || service.Image == "" {
|
||||
if options.ImageMandatory && service.Image == "" {
|
||||
return fmt.Errorf("%q attribut is mandatory to push an image for service %q", "service.image", service.Name)
|
||||
return fmt.Errorf("%q attribute is mandatory to push an image for service %q", "service.image", service.Name)
|
||||
}
|
||||
w.Event(progress.Event{
|
||||
ID: service.Name,
|
||||
|
|
Загрузка…
Ссылка в новой задаче