Fixing perm connector key (cant be based on perm service url)
This commit is contained in:
parent
3a30e265cf
commit
36e843d343
@ -1,8 +1,6 @@
|
|||||||
package perms_connectors
|
package perms_connectors
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"oc-auth/conf"
|
|
||||||
|
|
||||||
"cloud.o-forge.io/core/oc-lib/tools"
|
"cloud.o-forge.io/core/oc-lib/tools"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -54,5 +52,5 @@ var c = map[string]PermConnector{
|
|||||||
}
|
}
|
||||||
|
|
||||||
func GetPermissionConnector() PermConnector {
|
func GetPermissionConnector() PermConnector {
|
||||||
return c[conf.GetConfig().PermissionConnectorHost]
|
return c["keto"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user