Fix build error

This commit is contained in:
Yusuke Kuoka 2020-11-10 17:09:16 +09:00
parent 1c30bdf35b
commit 4eb45d3c7f
1 changed files with 0 additions and 1 deletions

View File

@ -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