Files
docker-cli/components/cli/client/plugin_set.go
Daniel Nephin 27d281716f Import docker/docker/client
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Upstream-commit: e8a454d8a6
Component: cli
2017-04-17 17:41:20 -04:00

13 lines
305 B
Go

package client
import (
"golang.org/x/net/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
}