mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-27 16:40:41 +00:00
Merge pull request #9251 from tonistiigi/use-format-logging-functions
Fix misuses of format based logging functions
This commit is contained in:
@@ -232,7 +232,7 @@ func TestEventsImagePull(t *testing.T) {
|
||||
since := time.Now().Unix()
|
||||
pullCmd := exec.Command(dockerBinary, "pull", "scratch")
|
||||
if out, _, err := runCommandWithOutput(pullCmd); err != nil {
|
||||
t.Fatal("pulling the scratch image from has failed: %s, %v", out, err)
|
||||
t.Fatalf("pulling the scratch image from has failed: %s, %v", out, err)
|
||||
}
|
||||
|
||||
eventsCmd := exec.Command(dockerBinary, "events",
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
func TestNetworkNat(t *testing.T) {
|
||||
iface, err := net.InterfaceByName("eth0")
|
||||
if err != nil {
|
||||
t.Skip("Test not running with `make test`. Interface eth0 not found: %s", err)
|
||||
t.Skipf("Test not running with `make test`. Interface eth0 not found: %s", err)
|
||||
}
|
||||
|
||||
ifaceAddrs, err := iface.Addrs()
|
||||
|
||||
Reference in New Issue
Block a user