@@ -41,7 +41,7 @@ type ServiceProxy struct {
4141 ConvertFn func (ctx context.Context , project * types.Project , options ConvertOptions ) ([]byte , error )
4242 KillFn func (ctx context.Context , project * types.Project , options KillOptions ) error
4343 RunOneOffContainerFn func (ctx context.Context , project * types.Project , opts RunOptions ) (int , error )
44- RemoveFn func (ctx context.Context , project * types.Project , options RemoveOptions ) ([] string , error )
44+ RemoveFn func (ctx context.Context , project * types.Project , options RemoveOptions ) error
4545 ExecFn func (ctx context.Context , project * types.Project , opts RunOptions ) (int , error )
4646 CopyFn func (ctx context.Context , project * types.Project , opts CopyOptions ) error
4747 PauseFn func (ctx context.Context , project string , options PauseOptions ) error
@@ -252,9 +252,9 @@ func (s *ServiceProxy) RunOneOffContainer(ctx context.Context, project *types.Pr
252252}
253253
254254//Remove implements Service interface
255- func (s * ServiceProxy ) Remove (ctx context.Context , project * types.Project , options RemoveOptions ) ([] string , error ) {
255+ func (s * ServiceProxy ) Remove (ctx context.Context , project * types.Project , options RemoveOptions ) error {
256256 if s .RemoveFn == nil {
257- return nil , errdefs .ErrNotImplemented
257+ return errdefs .ErrNotImplemented
258258 }
259259 for _ , i := range s .interceptors {
260260 i (ctx , project )
0 commit comments