mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-15 14:26:57 +00:00
update code.goole.com/p/go.net to golang.org/x/net
https://groups.google.com/forum/#!topic/golang-nuts/eD8dh3T9yyA
This commit is contained in:
@@ -19,7 +19,7 @@ package api
|
||||
import (
|
||||
stderrs "errors"
|
||||
|
||||
"code.google.com/p/go.net/context"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
// Context carries values across API boundaries.
|
||||
|
||||
@@ -32,8 +32,8 @@ import (
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/runtime"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/util"
|
||||
|
||||
"code.google.com/p/go.net/html"
|
||||
"github.com/golang/glog"
|
||||
"golang.org/x/net/html"
|
||||
)
|
||||
|
||||
// tagsToAttrs states which attributes of which tags require URL substitution.
|
||||
|
||||
@@ -26,7 +26,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"code.google.com/p/go.net/html"
|
||||
"golang.org/x/net/html"
|
||||
)
|
||||
|
||||
func parseURLOrDie(inURL string) *url.URL {
|
||||
|
||||
@@ -30,8 +30,8 @@ import (
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/watch"
|
||||
watchjson "github.com/GoogleCloudPlatform/kubernetes/pkg/watch/json"
|
||||
|
||||
"code.google.com/p/go.net/websocket"
|
||||
"github.com/golang/glog"
|
||||
"golang.org/x/net/websocket"
|
||||
)
|
||||
|
||||
type WatchHandler struct {
|
||||
|
||||
@@ -24,10 +24,10 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"code.google.com/p/go.net/websocket"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/runtime"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/watch"
|
||||
"golang.org/x/net/websocket"
|
||||
)
|
||||
|
||||
// watchJSON defines the expected JSON wire equivalent of watch.Event
|
||||
|
||||
Reference in New Issue
Block a user