Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client declared and not used compilation error, after recent upgrade #276

Closed
c4milo opened this issue Dec 5, 2016 · 1 comment
Closed

Comments

@c4milo
Copy link

c4milo commented Dec 5, 2016

I'm getting compilation errors with the latest changes.

...
// RegisterAuthzHandler registers the http handlers for service Authz to "mux".
// The handlers forward requests to the grpc endpoint over "conn".
func RegisterAuthzHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error {
	client := NewAuthzClient(conn)

	return nil
}

var ()

var ()
...
...
service Authz {
	rpc SignIn (SignInRequest) returns (SignInResponse) {}
	rpc SignOut (SignOutRequest) returns (SignOutResponse) {}
}
...
@c4milo c4milo changed the title client declared and not used after recent upgrade client declared and not used compilation error, after recent upgrade Dec 5, 2016
@c4milo
Copy link
Author

c4milo commented Dec 5, 2016

I can confirm 199c40a to be the culprit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant