mirror of
https://github.com/actions/actions-runner-controller.git
synced 2026-03-12 11:56:08 +08:00
use app config value
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user