From 4bedb1dd6377bb731e68e870b7ff358f26f8df72 Mon Sep 17 00:00:00 2001 From: Gabriel Adrian Samfira Date: Wed, 23 Aug 2023 22:50:04 +0000 Subject: [PATCH] Fix URLs for enterprises Signed-off-by: Gabriel Adrian Samfira --- runner/pool/enterprise.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/runner/pool/enterprise.go b/runner/pool/enterprise.go index fe9a1831..904fa841 100644 --- a/runner/pool/enterprise.go +++ b/runner/pool/enterprise.go @@ -47,6 +47,12 @@ func NewEnterprisePoolManager(ctx context.Context, cfg params.Enterprise, cfgInt store: store, providers: providers, controllerID: cfgInternal.ControllerID, + urls: urls{ + webhookURL: cfgInternal.BaseWebhookURL, + callbackURL: cfgInternal.InstanceCallbackURL, + metadataURL: cfgInternal.InstanceMetadataURL, + controllerWebhookURL: cfgInternal.ControllerWebhookURL, + }, quit: make(chan struct{}), helper: helper, credsDetails: cfgInternal.GithubCredentialsDetails,