Skip to content

Commit

Permalink
Removes the use of IQueryString from ConfigurePluginAsync() (#302)
Browse files Browse the repository at this point in the history
Resolves: #301
  • Loading branch information
jterry75 authored and galvesribeiro committed Apr 9, 2018
1 parent 5970d5f commit cd433ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Docker.DotNet/Endpoints/PluginOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,8 @@ public async Task<Plugin> InspectPluginAsync(string name, CancellationToken canc
throw new ArgumentNullException(nameof(parameters.Args));
}

var query = new QueryString<PluginConfigureParameters>(parameters);
var body = new JsonRequestContent<IList<string>>(parameters.Args, this._client.JsonSerializer);
return this._client.MakeRequestAsync(new[] { NoSuchPluginHandler }, HttpMethod.Post, $"plugins/{name}/set", query, cancellationToken);
return this._client.MakeRequestAsync(new[] { NoSuchPluginHandler }, HttpMethod.Post, $"plugins/{name}/set", null, body, cancellationToken);
}
}
}

0 comments on commit cd433ae

Please sign in to comment.