use app config value

This commit is contained in:
Nikola Jokic
2026-03-11 17:54:37 +01:00
parent d1dd5ed1b9
commit f3cbd933c5
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ func (m *Scaleset) GetClientFor(ctx context.Context, opts *ClientForOptions) (Cl
type ClientForOptions struct {
GithubConfigURL string
AppConfig *appconfig.AppConfig
AppConfig appconfig.AppConfig
Namespace string
RootCAs *x509.CertPool
ProxyFunc func(*http.Request) (*url.URL, error)

View File

@@ -150,7 +150,7 @@ func (sr *SecretResolver) GetActionsService(ctx context.Context, obj object.Acti
ctx,
&multiclient.ClientForOptions{
GithubConfigURL: obj.GitHubConfigUrl(),
AppConfig: appConfig,
AppConfig: *appConfig,
Namespace: obj.GetNamespace(),
RootCAs: rootCAs,
ProxyFunc: proxyFunc,