Fix oc-auth for k8s integration
This commit is contained in:
@@ -342,7 +342,7 @@ func (k KetoConnector) createRelationShip(object string, relation string, subjec
|
||||
}
|
||||
host := conf.GetConfig().PermissionConnectorHost
|
||||
port := fmt.Sprintf("%v", conf.GetConfig().PermissionConnectorAdminPort)
|
||||
b, err := caller.CallPut("http://"+host+":"+port, "/relation-tuples", body)
|
||||
b, err := caller.CallPut("http://"+host+":"+port, "/admin/relation-tuples", body)
|
||||
if err != nil {
|
||||
log := oclib.GetLogger()
|
||||
log.Error().Msg(err.Error())
|
||||
|
||||
Reference in New Issue
Block a user