Replace x/net/context with context of stdlib

This commit is contained in:
erwinvaneyk 2019-08-30 11:52:46 +02:00
parent aeb2861a40
commit 3e2217b3f4

View File

@ -1,15 +1,12 @@
package server package server
import ( import (
"context"
"errors" "errors"
"fmt" "fmt"
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
// go-grpc doesn't use the standard library's context.
// https://github.com/grpc/grpc-go/issues/711
"golang.org/x/net/context"
"github.com/dexidp/dex/api" "github.com/dexidp/dex/api"
"github.com/dexidp/dex/pkg/log" "github.com/dexidp/dex/pkg/log"
"github.com/dexidp/dex/server/internal" "github.com/dexidp/dex/server/internal"