Skip to content

Commit

Permalink
add dry-run support to restart command
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Lours <[email protected]>
  • Loading branch information
glours committed Mar 2, 2023
1 parent a84345b commit 167c6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/dryrunclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 167c6a8

Please sign in to comment.