use builtin package context rather than vendored one

Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
allencloud 2017-07-13 14:03:42 +08:00
parent 2134018617
commit 680832b7b0
2 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,9 @@
package cluster
import (
"context"
"github.com/docker/docker/api/types/network"
"golang.org/x/net/context"
)
const (

View File

@ -2,6 +2,7 @@ package main
import (
"bytes"
"context"
"encoding/json"
"errors"
"fmt"
@ -36,7 +37,6 @@ import (
"github.com/docker/libnetwork/options"
"github.com/docker/libnetwork/types"
"github.com/gorilla/mux"
"golang.org/x/net/context"
)
const (