소스 검색

add dry-run support to restart command

Signed-off-by: Guillaume Lours <[email protected]>
Guillaume Lours 2 년 전
부모
커밋
167c6a89b1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pkg/api/dryrunclient.go

+ 1 - 1
pkg/api/dryrunclient.go

@@ -95,7 +95,7 @@ func (d *DryRunClient) ContainerRename(ctx context.Context, container, newContai
 }
 
 func (d *DryRunClient) ContainerRestart(ctx context.Context, container string, options containerType.StopOptions) error {
-	return ErrNotImplemented
+	return nil
 }
 
 func (d *DryRunClient) ContainerStart(ctx context.Context, container string, options moby.ContainerStartOptions) error {