Fix redundant import alias

Because these package names are short and they are unique, it can not conflict. So the import aliases that can be omitted and we should remove them.
This commit is contained in:
Nguyen Quang Huy 2019-02-20 16:58:45 +07:00
parent 1865a0701e
commit 4bca3e76bf
3 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ import (
"net"
"github.com/containernetworking/cni/pkg/types"
types020 "github.com/containernetworking/cni/pkg/types/020"
"github.com/containernetworking/cni/pkg/types/020"
)
// The top-level network config - IPAM plugins are passed the full configuration

View File

@ -25,7 +25,7 @@ import (
"github.com/containernetworking/cni/pkg/types/current"
"github.com/containernetworking/cni/pkg/version"
types020 "github.com/containernetworking/cni/pkg/types/020"
"github.com/containernetworking/cni/pkg/types/020"
)
// The top-level network config - IPAM plugins are passed the full configuration

View File

@ -19,7 +19,7 @@ import (
"strings"
"github.com/coreos/go-iptables/iptables"
shellwords "github.com/mattn/go-shellwords"
"github.com/mattn/go-shellwords"
)
type chain struct {