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:
parent
c5f4d90da5
commit
e8abb5ca89
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue