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:
parent
b8e87cfdad
commit
1434204647
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue