mirror of
https://github.com/alibaba/higress.git
synced 2026-03-04 00:20:50 +08:00
fix: baidu api issue (#1685)
This commit is contained in:
@@ -25,7 +25,7 @@ type githubProvider struct {
|
||||
contextCache *contextCache
|
||||
}
|
||||
|
||||
func (m *githubProviderInitializer) ValidateConfig(config ProviderConfig) error {
|
||||
func (m *githubProviderInitializer) ValidateConfig(config *ProviderConfig) error {
|
||||
if config.apiTokens == nil || len(config.apiTokens) == 0 {
|
||||
return errors.New("no apiToken found in provider config")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user