mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-11 20:21:02 +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 {
|
||||
githubAPIURL, err := getEnterpriseApiUrl(c.EnterpriseURL)
|
||||
if err != nil {
|
||||
c.Log.Error(err, "Enterprise URL incorrect")
|
||||
return nil, fmt.Errorf("enterprise url incorrect: %v", err)
|
||||
}
|
||||
tr.BaseURL = githubAPIURL
|
||||
|
||||
Reference in New Issue
Block a user