mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-02-03 04:09:29 -05:00
* updates travis to xenial and docker to 18.09 * updates docker sources to f25e0c6f * updates the grpc sources to the latest version to be comtatible Closes #114
10 lines
361 B
Go
10 lines
361 B
Go
package client // import "github.com/docker/docker/client"
|
|
|
|
import "context"
|
|
|
|
// ServiceRemove kills and removes a service.
|
|
func (cli *Client) ServiceRemove(ctx context.Context, serviceID string) error {
|
|
resp, err := cli.delete(ctx, "/services/"+serviceID, nil, nil)
|
|
defer ensureReaderClosed(resp)
|
|
return wrapResponseError(err, resp, "service", serviceID)
|
|
}
|