fixing goimports formatting

This commit is contained in:
chrislovecnm 2017-12-17 15:42:37 -07:00
parent 15c7d61dfb
commit 509b8e285f
6 changed files with 10 additions and 8 deletions

View File

@ -19,13 +19,14 @@ package coredns
import (
"fmt"
"io"
"strconv"
"strings"
etcdc "github.com/coreos/etcd/client"
"github.com/golang/glog"
"gopkg.in/gcfg.v1"
"io"
"k8s.io/kops/dnsprovider/pkg/dnsprovider"
"strconv"
"strings"
)
// "coredns" should be used to use this DNS provider

View File

@ -21,14 +21,13 @@ import (
"fmt"
"os"
"strconv"
"strings"
"testing"
"k8s.io/kops/dnsprovider/pkg/dnsprovider"
corednstesting "k8s.io/kops/dnsprovider/pkg/dnsprovider/providers/coredns/stubs"
"k8s.io/kops/dnsprovider/pkg/dnsprovider/rrstype"
"k8s.io/kops/dnsprovider/pkg/dnsprovider/tests"
"strings"
)
func newTestInterface() (dnsprovider.Interface, error) {

View File

@ -19,13 +19,14 @@ package coredns
import (
"encoding/json"
"fmt"
"net"
etcdc "github.com/coreos/etcd/client"
"github.com/golang/glog"
dnsmsg "github.com/miekg/coredns/middleware/etcd/msg"
"golang.org/x/net/context"
"k8s.io/kops/dnsprovider/pkg/dnsprovider"
"k8s.io/kops/dnsprovider/pkg/dnsprovider/rrstype"
"net"
)
// Compile time check for interface adherence

View File

@ -18,6 +18,7 @@ package coredns
import (
"fmt"
"k8s.io/kops/dnsprovider/pkg/dnsprovider"
)

View File

@ -19,6 +19,7 @@ package protokube
import (
"fmt"
"net"
"os"
"strings"
"cloud.google.com/go/compute/metadata"
@ -30,7 +31,6 @@ import (
"k8s.io/kops/protokube/pkg/gossip"
gossipgce "k8s.io/kops/protokube/pkg/gossip/gce"
"k8s.io/kops/upup/pkg/fi/cloudup/gce"
"os"
)
// GCEVolumes is the Volumes implementation for GCE

View File

@ -23,6 +23,7 @@ import (
"fmt"
"io/ioutil"
"net"
"os"
"os/exec"
"runtime"
"strings"
@ -30,7 +31,6 @@ import (
"github.com/golang/glog"
etcdmanager "k8s.io/kops/protokube/pkg/etcd"
"k8s.io/kops/upup/pkg/fi/cloudup/vsphere"
"os"
)
const VolumeMetaDataFile = "/vol-metadata/metadata.json"