act/vendor/github.com/docker/docker/client/plugin_set.go
Casey Lee 320e9b6057
fail on error (#20)
ci-via-github-actions
2019-01-23 11:51:22 -08:00

12 lines
332 B
Go

package client // import "github.com/docker/docker/client"
import (
"context"
)
// PluginSet modifies settings for an existing plugin
func (cli *Client) PluginSet(ctx context.Context, name string, args []string) error {
resp, err := cli.post(ctx, "/plugins/"+name+"/set", nil, args, nil)
ensureReaderClosed(resp)
return err
}