remove unused GRAPH_SPACES_INSECURE

This commit is contained in:
Willy Kloucek
2022-07-07 15:29:06 +02:00
parent fb1c13978d
commit 45f25ee845
8 changed files with 5 additions and 31 deletions
-6
View File
@@ -75,7 +75,6 @@ type Graph struct {
logger *log.Logger
identityBackend identity.Backend
gatewayClient GatewayClient
httpClient HTTPClient
roleService settingssvc.RoleService
spacePropertiesCache *ttlcache.Cache
eventsPublisher events.Publisher
@@ -91,11 +90,6 @@ func (g Graph) GetGatewayClient() GatewayClient {
return g.gatewayClient
}
// GetClient returns a gateway client to talk to reva
func (g Graph) GetHTTPClient() HTTPClient {
return g.httpClient
}
func (g Graph) publishEvent(ev interface{}) {
if err := events.Publish(g.eventsPublisher, ev); err != nil {
g.logger.Error().