mirror of 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:
parent
26064d4b60
commit
eeea049f17
|
@ -63,7 +63,7 @@ func (s *composeService) push(ctx context.Context, project *types.Project, optio
|
||||||
for _, service := range project.Services {
|
for _, service := range project.Services {
|
||||||
if service.Build == nil || service.Image == "" {
|
if service.Build == nil || service.Image == "" {
|
||||||
if options.ImageMandatory && 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{
|
w.Event(progress.Event{
|
||||||
ID: service.Name,
|
ID: service.Name,
|
||||||
|
|
Loading…
Reference in New Issue