fix import paths for v2 release
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Package kubernetes is a logger implementing (github.com/micro/go-micro/debug/log).Log
|
||||
// Package kubernetes is a logger implementing (github.com/micro/go-micro/v2/debug/log).Log
|
||||
package kubernetes
|
||||
|
||||
import (
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/micro/go-micro/debug/log"
|
||||
"github.com/micro/go-micro/util/kubernetes/client"
|
||||
"github.com/micro/go-micro/v2/debug/log"
|
||||
"github.com/micro/go-micro/v2/util/kubernetes/client"
|
||||
)
|
||||
|
||||
type klog struct {
|
||||
|
@@ -8,7 +8,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/micro/go-micro/debug/log"
|
||||
"github.com/micro/go-micro/v2/debug/log"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
@@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/micro/go-micro/debug/log"
|
||||
"github.com/micro/go-micro/v2/debug/log"
|
||||
)
|
||||
|
||||
func write(l log.Record) error {
|
||||
|
@@ -4,8 +4,8 @@ package memory
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/micro/go-micro/debug/log"
|
||||
"github.com/micro/go-micro/util/ring"
|
||||
"github.com/micro/go-micro/v2/debug/log"
|
||||
"github.com/micro/go-micro/v2/util/ring"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@@ -4,7 +4,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/micro/go-micro/debug/log"
|
||||
"github.com/micro/go-micro/v2/debug/log"
|
||||
)
|
||||
|
||||
func TestLogger(t *testing.T) {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package memory
|
||||
|
||||
import (
|
||||
"github.com/micro/go-micro/debug/log"
|
||||
"github.com/micro/go-micro/v2/debug/log"
|
||||
)
|
||||
|
||||
type logStream struct {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package noop
|
||||
|
||||
import (
|
||||
"github.com/micro/go-micro/debug/log"
|
||||
"github.com/micro/go-micro/v2/debug/log"
|
||||
)
|
||||
|
||||
type noop struct{}
|
||||
|
@@ -10,7 +10,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/micro/go-micro/util/ring"
|
||||
"github.com/micro/go-micro/v2/util/ring"
|
||||
)
|
||||
|
||||
// Should stream from OS
|
||||
|
Reference in New Issue
Block a user