Преглед на файлове

push: Fix error message typo

Signed-off-by: Chris Crone <[email protected]>
Chris Crone преди 1 година
родител
ревизия
eeea049f17
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      pkg/compose/push.go

+ 1 - 1
pkg/compose/push.go

@@ -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,