From ac04fc7b4c3294c78be117103ca54ac7415e05fe Mon Sep 17 00:00:00 2001 From: Balazs <1074285@ucn.dk> Date: Sat, 4 Jun 2022 16:54:28 +0200 Subject: [PATCH] removed initial string --- Ductus.FluentDocker/Model/Containers/ContainerCreateParams.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Ductus.FluentDocker/Model/Containers/ContainerCreateParams.cs b/Ductus.FluentDocker/Model/Containers/ContainerCreateParams.cs index dabe2d9..8c13220 100644 --- a/Ductus.FluentDocker/Model/Containers/ContainerCreateParams.cs +++ b/Ductus.FluentDocker/Model/Containers/ContainerCreateParams.cs @@ -848,9 +848,8 @@ public override string ToString() if (null != HostIpMappings && 0 != HostIpMappings.Count) { - sb.Append(" --add-host="); foreach (var mapping in HostIpMappings) - sb.Append($"--add-host={mapping.Item1}:{mapping.Item2}"); + sb.Append($" --add-host={mapping.Item1}:{mapping.Item2}"); } if (Ulimit.Count > 0)