@@ -41,7 +41,7 @@ type ServiceProxy struct {
41
41
ConvertFn func (ctx context.Context , project * types.Project , options ConvertOptions ) ([]byte , error )
42
42
KillFn func (ctx context.Context , project * types.Project , options KillOptions ) error
43
43
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
45
45
ExecFn func (ctx context.Context , project * types.Project , opts RunOptions ) (int , error )
46
46
CopyFn func (ctx context.Context , project * types.Project , opts CopyOptions ) error
47
47
PauseFn func (ctx context.Context , project string , options PauseOptions ) error
@@ -252,9 +252,9 @@ func (s *ServiceProxy) RunOneOffContainer(ctx context.Context, project *types.Pr
252
252
}
253
253
254
254
//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 {
256
256
if s .RemoveFn == nil {
257
- return nil , errdefs .ErrNotImplemented
257
+ return errdefs .ErrNotImplemented
258
258
}
259
259
for _ , i := range s .interceptors {
260
260
i (ctx , project )
0 commit comments