mirror of https://github.com/docker/compose.git
add dry-run support of pause and unpause commands
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
parent
a93f09efac
commit
6754c6b68a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue