Skip to content

Commit

Permalink
allow running authsvc and the gateway an the same process (cs3org#254)
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
  • Loading branch information
butonic authored and labkode committed Sep 19, 2019
1 parent ca23166 commit 8c88d92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/revad/svcs/grpcsvcs/gatewaysvc/gatewaysvc.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ func New(m map[string]interface{}, ss *grpc.Server) (io.Closer, error) {
}

storageproviderv0alphapb.RegisterStorageProviderServiceServer(ss, s)
authv0alphapb.RegisterAuthServiceServer(ss, s)
if c.AuthEndpoint != "" {
authv0alphapb.RegisterAuthServiceServer(ss, s)
}
usershareproviderv0alphapb.RegisterUserShareProviderServiceServer(ss, s)
publicshareproviderv0alphapb.RegisterPublicShareProviderServiceServer(ss, s)
appregistryv0alphapb.RegisterAppRegistryServiceServer(ss, s)
Expand Down

0 comments on commit 8c88d92

Please sign in to comment.