rename imports to asim/go-micro (#2051)
This commit is contained in:
		| @@ -6,11 +6,11 @@ import ( | ||||
| 	"sync" | ||||
| 	"time" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v3/logger" | ||||
| 	log "github.com/micro/go-micro/v3/logger" | ||||
| 	"github.com/micro/go-micro/v3/runtime" | ||||
| 	"github.com/micro/go-micro/v3/util/kubernetes/api" | ||||
| 	"github.com/micro/go-micro/v3/util/kubernetes/client" | ||||
| 	"github.com/asim/go-micro/v3/logger" | ||||
| 	log "github.com/asim/go-micro/v3/logger" | ||||
| 	"github.com/asim/go-micro/v3/runtime" | ||||
| 	"github.com/asim/go-micro/v3/util/kubernetes/api" | ||||
| 	"github.com/asim/go-micro/v3/util/kubernetes/client" | ||||
| ) | ||||
|  | ||||
| // action to take on runtime service | ||||
|   | ||||
| @@ -12,7 +12,7 @@ import ( | ||||
| 	"strings" | ||||
| 	"testing" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v3/runtime" | ||||
| 	"github.com/asim/go-micro/v3/runtime" | ||||
| 	"github.com/stretchr/testify/assert" | ||||
| ) | ||||
|  | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| // Package kubernetes taken from https://github.com/micro/go-micro/blob/master/debug/log/kubernetes/kubernetes.go | ||||
| // Package kubernetes taken from https://github.com/asim/go-micro/blob/master/debug/log/kubernetes/kubernetes.go | ||||
| // There are some modifications compared to the other files as | ||||
| // this package doesn't provide write functionality. | ||||
| // With the write functionality gone, structured logs also go away. | ||||
| @@ -9,10 +9,10 @@ import ( | ||||
| 	"strconv" | ||||
| 	"time" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v3/errors" | ||||
| 	"github.com/micro/go-micro/v3/runtime" | ||||
| 	"github.com/micro/go-micro/v3/util/kubernetes/client" | ||||
| 	"github.com/micro/go-micro/v3/util/log" | ||||
| 	"github.com/asim/go-micro/v3/errors" | ||||
| 	"github.com/asim/go-micro/v3/runtime" | ||||
| 	"github.com/asim/go-micro/v3/util/kubernetes/client" | ||||
| 	"github.com/asim/go-micro/v3/util/log" | ||||
| ) | ||||
|  | ||||
| type klog struct { | ||||
|   | ||||
| @@ -3,9 +3,9 @@ package kubernetes | ||||
| import ( | ||||
| 	"strings" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v3/logger" | ||||
| 	"github.com/micro/go-micro/v3/runtime" | ||||
| 	"github.com/micro/go-micro/v3/util/kubernetes/client" | ||||
| 	"github.com/asim/go-micro/v3/logger" | ||||
| 	"github.com/asim/go-micro/v3/runtime" | ||||
| 	"github.com/asim/go-micro/v3/util/kubernetes/client" | ||||
| ) | ||||
|  | ||||
| func (k *kubernetes) ensureNamepaceExists(ns string) error { | ||||
|   | ||||
| @@ -1,9 +1,9 @@ | ||||
| package kubernetes | ||||
|  | ||||
| import ( | ||||
| 	"github.com/micro/go-micro/v3/logger" | ||||
| 	"github.com/micro/go-micro/v3/runtime" | ||||
| 	"github.com/micro/go-micro/v3/util/kubernetes/client" | ||||
| 	"github.com/asim/go-micro/v3/logger" | ||||
| 	"github.com/asim/go-micro/v3/runtime" | ||||
| 	"github.com/asim/go-micro/v3/util/kubernetes/client" | ||||
| ) | ||||
|  | ||||
| // createNetworkPolicy creates a networkpolicy resource | ||||
|   | ||||
| @@ -6,10 +6,10 @@ import ( | ||||
| 	"fmt" | ||||
| 	"strings" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v3/logger" | ||||
| 	"github.com/micro/go-micro/v3/runtime" | ||||
| 	"github.com/micro/go-micro/v3/util/kubernetes/api" | ||||
| 	"github.com/micro/go-micro/v3/util/kubernetes/client" | ||||
| 	"github.com/asim/go-micro/v3/logger" | ||||
| 	"github.com/asim/go-micro/v3/runtime" | ||||
| 	"github.com/asim/go-micro/v3/util/kubernetes/api" | ||||
| 	"github.com/asim/go-micro/v3/util/kubernetes/client" | ||||
| ) | ||||
|  | ||||
| // getServices queries kubernetes for services. It gets information from both the pods and the | ||||
|   | ||||
		Reference in New Issue
	
	Block a user