Skip to content

Commit

Permalink
Merge pull request #1539 from erwinvaneyk/replace-context-import
Browse files Browse the repository at this point in the history
Replace x/net/context with stdlib context
  • Loading branch information
srenatus authored Aug 31, 2019
2 parents 4f3ab1e + 3e2217b commit c854e76
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions server/api.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
package server

import (
"context"
"errors"
"fmt"

"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/pkg/log"
"github.com/dexidp/dex/server/internal"
Expand Down

0 comments on commit c854e76

Please sign in to comment.