Path rewriting causes too many problems when vendoring
vendored code. When CNI code is vendored into rkt,
godep has problems code already vendored by CNI.
"fmt"
"net"
- "github.com/appc/cni/Godeps/_workspace/src/github.com/coreos/go-iptables/iptables"
+ "github.com/coreos/go-iptables/iptables"
)
// SetupIPMasq installs iptables rules to masquerade traffic
"net"
"os"
- "github.com/appc/cni/Godeps/_workspace/src/github.com/vishvananda/netlink"
+ "github.com/vishvananda/netlink"
)
func makeVethPair(name, peer string, mtu int) (netlink.Link, error) {
import (
"net"
- "github.com/appc/cni/Godeps/_workspace/src/github.com/vishvananda/netlink"
+ "github.com/vishvananda/netlink"
)
// AddDefaultRoute sets the default route on the given gateway.
"path/filepath"
"strings"
- "github.com/appc/cni/Godeps/_workspace/src/github.com/vishvananda/netlink"
"github.com/appc/cni/pkg/ip"
+ "github.com/vishvananda/netlink"
)
// Find returns the full path of the plugin by searching in CNI_PATH