浏览代码

support dry-run for stop command

Signed-off-by: Guillaume Lours <[email protected]>
Guillaume Lours 2 年之前
父节点
当前提交
78b9404767
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pkg/api/dryrunclient.go

+ 1 - 1
pkg/api/dryrunclient.go

@@ -93,7 +93,7 @@ func (d *DryRunClient) ContainerStart(ctx context.Context, container string, opt
 }
 
 func (d *DryRunClient) ContainerStop(ctx context.Context, container string, options containerType.StopOptions) error {
-	return ErrNotImplemented
+	return nil
 }
 
 func (d *DryRunClient) ContainerUnpause(ctx context.Context, container string) error {