Closed
Description
If you're using the new "context" library, then gRPC servers can't match the server to the interface, because it has the wrong type of context.
Compiling bin/linux.x86_64/wlserver
asci/cs/tools/whitelist/wlserver
./wlserver.go:767: cannot use wls (type _Server) as type WhitelistProto.GoogleWhitelistServer in argument to WhitelistProto.RegisterGoogleWhitelistServer:
*Server does not implement WhitelistProto.GoogleWhitelistServer (wrong type for Delete method)
have Delete(context.Context, *WhitelistProto.DeleteRequest) (_WhitelistProto.DeleteReply, error)
want Delete(context.Context, _WhitelistProto.DeleteRequest) (_WhitelistProto.DeleteReply, error)