Replaced log.Fatalf() with t.Fatalf()

No need to import log package.

Docker-DCO-1.1-Signed-off-by: Milos Gajdos <milosgajdos83@gmail.com> (github: milosgajdos83)
This commit is contained in:
Milos Gajdos 2014-08-06 00:40:26 +01:00
parent c5f4d90da5
commit e8abb5ca89
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ func TestCreateBridgeLink(t *testing.T) {
name := "mybrlink" name := "mybrlink"
if err := NetworkLinkAdd(name, "bridge"); err != nil { if err := NetworkLinkAdd(name, "bridge"); err != nil {
log.Fatal(err) t.Fatal(err)
} }
if _, err := net.InterfaceByName(name); err != nil { if _, err := net.InterfaceByName(name); err != nil {