Merge pull request #9251 from tonistiigi/use-format-logging-functions

Fix misuses of format based logging functions
This commit is contained in:
Jessie Frazelle
2014-11-19 15:25:42 -08:00
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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",
+1 -1
View File
@@ -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()