(ctx context.Context, serviceId string, id string, commits string)
| 508 | } |
| 509 | |
| 510 | func (i *imlPublishModule) Accept(ctx context.Context, serviceId string, id string, commits string) error { |
| 511 | _, err := i.serviceService.Check(ctx, serviceId, asServer) |
| 512 | if err != nil { |
| 513 | return err |
| 514 | } |
| 515 | return i.publishService.Accept(ctx, serviceId, id, commits) |
| 516 | } |
| 517 | |
| 518 | func (i *imlPublishModule) publish(ctx context.Context, id string, clusterId string, projectRelease *gateway.ProjectRelease) error { |
| 519 |