Skip to content

Commit cd433ae

Browse files
jterry75galvesribeiro
authored andcommitted
Removes the use of IQueryString from ConfigurePluginAsync() (#302)
Resolves: #301
1 parent 5970d5f commit cd433ae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Docker.DotNet/Endpoints/PluginOperations.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,8 @@ public async Task<Plugin> InspectPluginAsync(string name, CancellationToken canc
178178
throw new ArgumentNullException(nameof(parameters.Args));
179179
}
180180

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

0 commit comments

Comments
 (0)