(ctx context.Context, project *types.Project, createOpts api.CreateOptions)
| 60 | } |
| 61 | |
| 62 | func (s *composeService) Create(ctx context.Context, project *types.Project, createOpts api.CreateOptions) error { |
| 63 | return Run(ctx, func(ctx context.Context) error { |
| 64 | return s.create(ctx, project, createOpts) |
| 65 | }, "create", s.events) |
| 66 | } |
| 67 | |
| 68 | func (s *composeService) create(ctx context.Context, project *types.Project, options api.CreateOptions) error { |
| 69 | if len(options.Services) == 0 { |
no test coverage detected