*: replace 'golang.org/x/net/context' with 'context'

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyu-Ho Lee
2017-09-06 14:57:25 -07:00
parent ff31fb4b8b
commit f65aee0759
175 changed files with 270 additions and 245 deletions

View File

@@ -15,6 +15,7 @@
package command
import (
"context"
"encoding/json"
"fmt"
"io/ioutil"
@@ -24,8 +25,8 @@ import (
"time"
"github.com/coreos/etcd/client"
"github.com/urfave/cli"
"golang.org/x/net/context"
)
func NewClusterHealthCommand() cli.Command {

View File

@@ -15,6 +15,7 @@
package command
import (
"context"
"errors"
"fmt"
"os"
@@ -22,8 +23,8 @@ import (
"os/signal"
"github.com/coreos/etcd/client"
"github.com/urfave/cli"
"golang.org/x/net/context"
)
// NewExecWatchCommand returns the CLI command for "exec-watch".

View File

@@ -15,6 +15,7 @@
package command
import (
"context"
"errors"
"fmt"
"io"
@@ -27,11 +28,11 @@ import (
"syscall"
"time"
"github.com/bgentry/speakeasy"
"github.com/coreos/etcd/client"
"github.com/coreos/etcd/pkg/transport"
"github.com/bgentry/speakeasy"
"github.com/urfave/cli"
"golang.org/x/net/context"
)
var (

View File

@@ -15,14 +15,15 @@
package command
import (
"context"
"errors"
"fmt"
"os"
"os/signal"
"github.com/coreos/etcd/client"
"github.com/urfave/cli"
"golang.org/x/net/context"
)
// NewWatchCommand returns the CLI command for "watch".