summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.runway/env-production.yml2
-rw-r--r--.runway/env-staging.yml2
-rw-r--r--app/init.go1
3 files changed, 2 insertions, 3 deletions
diff --git a/.runway/env-production.yml b/.runway/env-production.yml
index a511122..2f1f50c 100644
--- a/.runway/env-production.yml
+++ b/.runway/env-production.yml
@@ -3,5 +3,5 @@ AUTHZD_HOST: "authzd.staging.runway.gitlab.net:443"
LOG_LEVEL: "warn"
OAUTH_CLIENT_ID: "75656280b7ca60223b060b57c4eb98a8a324878531efeccafc1d25709dbee5c9"
OIDC_ISSUER: "https://gitlab.com"
-ZED_ENDPOINT: ":50051"
+ZED_ENDPOINT: "localhost:50051"
ZED_TOKEN: "secret"
diff --git a/.runway/env-staging.yml b/.runway/env-staging.yml
index 7d34db1..b513762 100644
--- a/.runway/env-staging.yml
+++ b/.runway/env-staging.yml
@@ -3,5 +3,5 @@ AUTHZD_HOST: "authzd.staging.runway.gitlab.net:443"
LOG_LEVEL: "info"
OAUTH_CLIENT_ID: "786e37c8d2207d200f735379ad52579c452948222f9affc7a45e74bd7074ad3c"
OIDC_ISSUER: "https://staging.gitlab.com"
-ZED_ENDPOINT: ":50051"
+ZED_ENDPOINT: "localhost:50051"
ZED_TOKEN: "secret"
diff --git a/app/init.go b/app/init.go
index f882414..ea67e48 100644
--- a/app/init.go
+++ b/app/init.go
@@ -84,7 +84,6 @@ func init() {
logger := ioc.MustResolve[*zerolog.Logger](c)
ctx := logger.WithContext(context.Background())
client := ioc.MustResolve[*authzed.Client](c)
- defer client.Close()
ioc.
MustResolve[*event.TypedAggregator[*domain.Sparkle]](c).