Silence "golint" errors

Silence "go vet" errors
Run goimports
This commit is contained in:
Alvaro Saurin committed 2015-05-28 10:05:22 +02:00
1 parent 40d7b2a87d
commit 6d2317d60e
21 files changed
+126 -106

No files matched your search

+5 -4
View File
@@ -3,12 +3,13 @@ package nameserver
import (
"encoding/binary"
"fmt"
"github.com/miekg/dns"
. "github.com/weaveworks/weave/common"
wt "github.com/weaveworks/weave/testing"
"net"
"testing"
"time"
"github.com/miekg/dns"
. "github.com/weaveworks/weave/common"
wt "github.com/weaveworks/weave/testing"
)
const (
@@ -180,7 +181,7 @@ func TestTCPDNSServer(t *testing.T) {
fallback.Start()
defer fallback.Stop()
t.Logf("Creating a WeaveDNS server instance, falling back to 127.0.0.1:%s", fallback.Port)
t.Logf("Creating a WeaveDNS server instance, falling back to 127.0.0.1:%d", fallback.Port)
srv, err := NewDNSServer(DNSServerConfig{
Zone: zone,
UpstreamCfg: fallback.CliConfig,