log: remove crusty context, replace with shiny
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
29004dc3b4
commit
aa4a1f851d
3 changed files with 4 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
|||
package log
|
||||
|
||||
import (
|
||||
"context"
|
||||
"path"
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
package log
|
||||
|
||||
import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
func TestLoggerContext(t *testing.T) {
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
package log
|
||||
|
||||
import (
|
||||
"golang.org/x/net/context"
|
||||
"context"
|
||||
|
||||
"google.golang.org/grpc/grpclog"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue