Skip to content

Commit 167c6a8

Browse files
committed
add dry-run support to restart command
Signed-off-by: Guillaume Lours <[email protected]>
1 parent a84345b commit 167c6a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/api/dryrunclient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func (d *DryRunClient) ContainerRename(ctx context.Context, container, newContai
9595
}
9696

9797
func (d *DryRunClient) ContainerRestart(ctx context.Context, container string, options containerType.StopOptions) error {
98-
return ErrNotImplemented
98+
return nil
9999
}
100100

101101
func (d *DryRunClient) ContainerStart(ctx context.Context, container string, options moby.ContainerStartOptions) error {

0 commit comments

Comments
 (0)