Skip to content

Commit

Permalink
Merge pull request projectcalico#186 from artem-panchenko/update-libc…
Browse files Browse the repository at this point in the history
…alico-go-imports

Use new location of 'libcalico-go' repository
  • Loading branch information
caseydavenport authored Oct 12, 2016
2 parents 539193c + e180a66 commit 9c90260
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions calico.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ import (
"github.com/containernetworking/cni/pkg/types"
"github.com/projectcalico/calico-cni/k8s"
. "github.com/projectcalico/calico-cni/utils"
"github.com/tigera/libcalico-go/lib/api"
"github.com/tigera/libcalico-go/lib/errors"
cnet "github.com/tigera/libcalico-go/lib/net"
"github.com/projectcalico/libcalico-go/lib/api"
"github.com/projectcalico/libcalico-go/lib/errors"
cnet "github.com/projectcalico/libcalico-go/lib/net"
)

var hostname string
Expand Down
4 changes: 2 additions & 2 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import:
- package: github.com/onsi/gomega
subpackages:
- gexec
- package: github.com/tigera/libcalico-go
- package: github.com/projectcalico/libcalico-go
subpackages:
- lib/api
- lib/client
Expand Down
4 changes: 2 additions & 2 deletions ipam/calico-ipam.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"github.com/containernetworking/cni/pkg/skel"
"github.com/containernetworking/cni/pkg/types"
"github.com/projectcalico/calico-cni/utils"
"github.com/tigera/libcalico-go/lib/client"
cnet "github.com/tigera/libcalico-go/lib/net"
"github.com/projectcalico/libcalico-go/lib/client"
cnet "github.com/projectcalico/libcalico-go/lib/net"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions k8s/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ import (
"github.com/containernetworking/cni/pkg/skel"
"github.com/containernetworking/cni/pkg/types"
"github.com/projectcalico/calico-cni/utils"
"github.com/tigera/libcalico-go/lib/api"
cnet "github.com/tigera/libcalico-go/lib/net"
"github.com/projectcalico/libcalico-go/lib/api"
cnet "github.com/projectcalico/libcalico-go/lib/net"

"encoding/json"

"k8s.io/client-go/1.4/kubernetes"
"k8s.io/client-go/1.4/tools/clientcmd"

log "github.com/Sirupsen/logrus"
"github.com/tigera/libcalico-go/lib/client"
"github.com/projectcalico/libcalico-go/lib/client"
)

// CmdAddK8s performs the "ADD" operation on a kubernetes pod
Expand Down
6 changes: 3 additions & 3 deletions utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import (
"github.com/containernetworking/cni/pkg/skel"
"github.com/containernetworking/cni/pkg/types"
"github.com/golang/glog"
"github.com/tigera/libcalico-go/lib/api"
"github.com/tigera/libcalico-go/lib/client"
cnet "github.com/tigera/libcalico-go/lib/net"
"github.com/projectcalico/libcalico-go/lib/api"
"github.com/projectcalico/libcalico-go/lib/client"
cnet "github.com/projectcalico/libcalico-go/lib/net"
)

func min(a, b int) int {
Expand Down

0 comments on commit 9c90260

Please sign in to comment.