From 36e843d34350b0fe99739511c27a8d085840199c Mon Sep 17 00:00:00 2001 From: plm Date: Mon, 16 Dec 2024 09:12:28 +0100 Subject: [PATCH] Fixing perm connector key (cant be based on perm service url) --- infrastructure/perms_connectors/perms_connector.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/infrastructure/perms_connectors/perms_connector.go b/infrastructure/perms_connectors/perms_connector.go index a51556f..b8d3ba7 100644 --- a/infrastructure/perms_connectors/perms_connector.go +++ b/infrastructure/perms_connectors/perms_connector.go @@ -1,8 +1,6 @@ package perms_connectors import ( - "oc-auth/conf" - "cloud.o-forge.io/core/oc-lib/tools" ) @@ -54,5 +52,5 @@ var c = map[string]PermConnector{ } func GetPermissionConnector() PermConnector { - return c[conf.GetConfig().PermissionConnectorHost] + return c["keto"] }