1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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>
This commit is contained in:
Sebastiaan van Stijn 2018-10-30 23:17:00 +01:00
parent b8e87cfdad
commit 1434204647
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -50,7 +50,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())