From 167c6a89b1d1ff90d0cccd8235f873c8bc0d3bb8 Mon Sep 17 00:00:00 2001 From: Guillaume Lours <705411+glours@users.noreply.github.com> Date: Wed, 1 Mar 2023 18:26:32 +0100 Subject: [PATCH] add dry-run support to restart command Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com> --- pkg/api/dryrunclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/dryrunclient.go b/pkg/api/dryrunclient.go index a7a6c82621a..09254efc1a8 100644 --- a/pkg/api/dryrunclient.go +++ b/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 {