Fix double "unix://" scheme in TestInfoAPIWarnings
`d.Sock()` already returns the socket-path including the `unix://` scheme. Also removed `--iptables=false`, as it didn't really seem nescessary for this test. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 14342046477b7ed87a9c5c451bb4520c7f6cabcc) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: c40a7d393bca990e07973024e71034b4b6fc05e5 Component: engine
This commit is contained in:
@@ -48,7 +48,7 @@ func TestInfoAPIWarnings(t *testing.T) {
|
||||
client, err := d.NewClient()
|
||||
assert.NilError(t, err)
|
||||
|
||||
d.StartWithBusybox(t, "--iptables=false", "-H=0.0.0.0:23756", "-H=unix://"+d.Sock())
|
||||
d.StartWithBusybox(t, "-H=0.0.0.0:23756", "-H="+d.Sock())
|
||||
defer d.Stop(t)
|
||||
|
||||
info, err := client.Info(context.Background())
|
||||
|
||||
Reference in New Issue
Block a user