Skip to content

Commit 2b3ca06

Browse files
committed
Code fixes for PR #7
1 parent f4549b7 commit 2b3ca06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Docker.DotNet/ContainerOperations.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ public async Task<CreateContainerResponse> CreateContainerAsync(CreateContainerP
6060
{
6161
throw new ArgumentNullException("parameters");
6262
}
63+
6364
if (!string.IsNullOrEmpty(parameters.ContainerName)) {
64-
qs = new QueryString<string>(parameters.ContainerName);
65+
qs = new QueryString<CreateContainerParameters>(parameters);
6566
}
66-
6767

6868
string path = "containers/create";
6969
JsonRequestContent<Config> data = null;

0 commit comments

Comments
 (0)