mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
f9b5eb0cac
Addresses: #14756 Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
19 lines
445 B
Go
19 lines
445 B
Go
// +build windows
|
|
|
|
package windows
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/docker/docker/daemon/execdriver"
|
|
)
|
|
|
|
// Pause implements the exec driver Driver interface.
|
|
func (d *Driver) Pause(c *execdriver.Command) error {
|
|
return fmt.Errorf("Windows: Containers cannot be paused")
|
|
}
|
|
|
|
// Unpause implements the exec driver Driver interface.
|
|
func (d *Driver) Unpause(c *execdriver.Command) error {
|
|
return fmt.Errorf("Windows: Containers cannot be paused")
|
|
}
|