mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-12 04:26:51 +00:00
Fix build error
This commit is contained in:
@@ -50,7 +50,6 @@ func (c *Config) NewClient() (*Client, error) {
|
|||||||
if len(c.EnterpriseURL) > 0 {
|
if len(c.EnterpriseURL) > 0 {
|
||||||
githubAPIURL, err := getEnterpriseApiUrl(c.EnterpriseURL)
|
githubAPIURL, err := getEnterpriseApiUrl(c.EnterpriseURL)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
c.Log.Error(err, "Enterprise URL incorrect")
|
|
||||||
return nil, fmt.Errorf("enterprise url incorrect: %v", err)
|
return nil, fmt.Errorf("enterprise url incorrect: %v", err)
|
||||||
}
|
}
|
||||||
tr.BaseURL = githubAPIURL
|
tr.BaseURL = githubAPIURL
|
||||||
|
|||||||
Reference in New Issue
Block a user