heal: Print heal command appropriately without export path. (#3208)

Fixes #3204
This commit is contained in:
Harshavardhana
2016-11-09 10:50:14 -08:00
committed by GitHub
parent ea579f5b69
commit 3e67bfcc88
5 changed files with 96 additions and 17 deletions

View File

@@ -44,9 +44,7 @@ func TestGetListenIPs(t *testing.T) {
if test.port != "" {
addr = test.addr + ":" + test.port
}
hosts, port, err := getListenIPs(&http.Server{
Addr: addr,
})
hosts, port, err := getListenIPs(addr)
if !test.shouldPass && err == nil {
t.Fatalf("Test should fail but succeeded %s", err)
}