remove GRPC insecure config options, since it always needs to be set to insecure

This commit is contained in:
Willy Kloucek
2021-11-10 16:12:29 +01:00
parent 69cc11dbe6
commit e35d4fd0ac
11 changed files with 16 additions and 34 deletions

View File

@@ -24,7 +24,7 @@ func (g Graph) ServeHTTP(w http.ResponseWriter, r *http.Request) {
// GetClient returns a gateway client to talk to reva
func (g Graph) GetClient() (gateway.GatewayAPIClient, error) {
return pool.GetGatewayServiceClient(g.config.Reva.Address) //TODO: insecure defaults to true, https://github.com/cs3org/reva/issues/2216
return pool.GetGatewayServiceClient(g.config.Reva.Address)
}
// The key type is unexported to prevent collisions with context keys defined in