Explorar o código

support dry-run for stop command

Signed-off-by: Guillaume Lours <[email protected]>
Guillaume Lours %!s(int64=2) %!d(string=hai) anos
pai
achega
78b9404767
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pkg/api/dryrunclient.go

+ 1 - 1
pkg/api/dryrunclient.go

@@ -93,7 +93,7 @@ func (d *DryRunClient) ContainerStart(ctx context.Context, container string, opt
 }
 
 func (d *DryRunClient) ContainerStop(ctx context.Context, container string, options containerType.StopOptions) error {
-	return ErrNotImplemented
+	return nil
 }
 
 func (d *DryRunClient) ContainerUnpause(ctx context.Context, container string) error {