Skip to content

Commit

Permalink
Merge pull request #429 from cfauchere/master
Browse files Browse the repository at this point in the history
Fix method /plugins/privileges
  • Loading branch information
jterry75 authored Jan 8, 2020
2 parents 5cb89ed + b3f584f commit f9d501c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Docker.DotNet/Endpoints/PluginOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ internal PluginOperations(DockerClient client)
}

var query = new QueryString<PluginGetPrivilegeParameters>(parameters);
var response = await this._client.MakeRequestAsync(this._client.NoErrorHandlers, HttpMethod.Post, "plugins/privileges", query, cancellationToken).ConfigureAwait(false);
var response = await this._client.MakeRequestAsync(this._client.NoErrorHandlers, HttpMethod.Get, "plugins/privileges", query, cancellationToken).ConfigureAwait(false);
return this._client.JsonSerializer.DeserializeObject<PluginPrivilege[]>(response.Body);
}

Expand Down

0 comments on commit f9d501c

Please sign in to comment.