add dry-run support to restart command

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
Guillaume Lours 2023-03-01 18:26:32 +01:00
parent a84345be8f
commit 167c6a89b1
1 changed files with 1 additions and 1 deletions

View File

@ -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 {