From e8abb5ca89efec8a98f1f3ace93851c1af2045c6 Mon Sep 17 00:00:00 2001 From: Milos Gajdos Date: Wed, 6 Aug 2014 00:40:26 +0100 Subject: [PATCH] Replaced log.Fatalf() with t.Fatalf() No need to import log package. Docker-DCO-1.1-Signed-off-by: Milos Gajdos (github: milosgajdos83) --- netlink/netlink_linux_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlink/netlink_linux_test.go b/netlink/netlink_linux_test.go index 7e4fa33e..d387bf77 100644 --- a/netlink/netlink_linux_test.go +++ b/netlink/netlink_linux_test.go @@ -39,7 +39,7 @@ func TestCreateBridgeLink(t *testing.T) { name := "mybrlink" if err := NetworkLinkAdd(name, "bridge"); err != nil { - log.Fatal(err) + t.Fatal(err) } if _, err := net.InterfaceByName(name); err != nil {