Tizen_4.0 base
[platform/upstream/docker-engine.git] / client / plugin_set.go
1 package client
2
3 import (
4         "golang.org/x/net/context"
5 )
6
7 // PluginSet modifies settings for an existing plugin
8 func (cli *Client) PluginSet(ctx context.Context, name string, args []string) error {
9         resp, err := cli.post(ctx, "/plugins/"+name+"/set", nil, args, nil)
10         ensureReaderClosed(resp)
11         return err
12 }