Merge pull request #10217 from glours/dry-run-pause-support

Dry run pause support
This commit is contained in:
Guillaume Lours 2023-01-31 14:56:27 +01:00 committed by GitHub
commit f24d3458c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ func (d *DryRunClient) ContainerKill(ctx context.Context, container, signal stri
}
func (d *DryRunClient) ContainerPause(ctx context.Context, container string) error {
return ErrNotImplemented
return nil
}
func (d *DryRunClient) ContainerRemove(ctx context.Context, container string, options moby.ContainerRemoveOptions) error {
@ -91,7 +91,7 @@ func (d *DryRunClient) ContainerStop(ctx context.Context, container string, opti
}
func (d *DryRunClient) ContainerUnpause(ctx context.Context, container string) error {
return ErrNotImplemented
return nil
}
func (d *DryRunClient) CopyFromContainer(ctx context.Context, container, srcPath string) (io.ReadCloser, moby.ContainerPathStat, error) {