Sign in
fuchsia
/
third_party
/
github.com
/
moby
/
moby
/
02e0bfa75306b341a5602a91d68f35000687366d
/
.
/
client
/
config_remove.go
blob: f04b8df17ab5f6d2411e0a0151ffcc1607110f95 [
file
] [
log
] [
blame
]
package client
import "golang.org/x/net/context"
// ConfigRemove removes a Config.
func (cli *Client) ConfigRemove(ctx context.Context, id string) error {
resp, err := cli.delete(ctx, "/configs/"+id, nil, nil)
ensureReaderClosed(resp)
return err
}