Fix go vet errors

Docker-DCO-1.1-Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com> (github: LK4D4)

Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
This commit is contained in:
LK4D4
2014-06-12 09:15:53 +04:00
committed by Victor Vieux
parent f0ec901819
commit f08cd445b0
12 changed files with 27 additions and 25 deletions
+3 -2
View File
@@ -4,11 +4,12 @@ import (
"bytes"
"crypto/rand"
"fmt"
"github.com/dotcloud/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
"io"
"io/ioutil"
"os"
"testing"
"github.com/dotcloud/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
)
type testLayer struct {
@@ -109,7 +110,7 @@ func TestTarSums(t *testing.T) {
fh = sizedTar(*layer.options)
} else {
// What else is there to test?
t.Errorf("what to do with %#V", layer)
t.Errorf("what to do with %#v", layer)
continue
}
if file, ok := fh.(*os.File); ok {