mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Not perfect yet, but addressing some godoc "doc" links that needed to be updated, and touching up some references. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
16 lines
399 B
Go
16 lines
399 B
Go
package client
|
|
|
|
import "context"
|
|
|
|
// ContainerUnpause resumes the process execution within a container.
|
|
func (cli *Client) ContainerUnpause(ctx context.Context, containerID string) error {
|
|
containerID, err := trimID("container", containerID)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
resp, err := cli.post(ctx, "/containers/"+containerID+"/unpause", nil, nil, nil)
|
|
ensureReaderClosed(resp)
|
|
return err
|
|
}
|