update storageos vendor for FilteredDial change
This commit is contained in:
2
vendor/github.com/storageos/go-api/policy.go
generated
vendored
2
vendor/github.com/storageos/go-api/policy.go
generated
vendored
@@ -29,7 +29,7 @@ func (n *nopMarshaler) MarshalJSON() ([]byte, error) {
|
||||
}
|
||||
|
||||
// PolicyCreate creates a policy on the server.
|
||||
func (c *Client) PolicyCreate(jsonl []byte, ctx context.Context) error {
|
||||
func (c *Client) PolicyCreate(ctx context.Context, jsonl []byte) error {
|
||||
nopm := nopMarshaler(jsonl)
|
||||
_, err := c.do("POST", PolicyAPIPrefix, doOptions{
|
||||
data: &nopm,
|
||||
|
Reference in New Issue
Block a user