(ctx context.Context, projectName string, options api.CommitOptions)
| 27 | ) |
| 28 | |
| 29 | func (s *composeService) Commit(ctx context.Context, projectName string, options api.CommitOptions) error { |
| 30 | return Run(ctx, func(ctx context.Context) error { |
| 31 | return s.commit(ctx, projectName, options) |
| 32 | }, "commit", s.events) |
| 33 | } |
| 34 | |
| 35 | func (s *composeService) commit(ctx context.Context, projectName string, options api.CommitOptions) error { |
| 36 | projectName = strings.ToLower(projectName) |