mirror of
https://github.com/alibaba/higress.git
synced 2026-05-26 05:37:25 +08:00
fix invalid ai-proxy cluster (#1947)
Co-authored-by: Kent Dong <ch3cho@qq.com>
This commit is contained in:
@@ -95,10 +95,10 @@ func createContextCache(providerConfig *ProviderConfig) *contextCache {
|
||||
return nil
|
||||
}
|
||||
fileUrlObj, _ := url.Parse(contextConfig.fileUrl)
|
||||
cluster := plainCluster{
|
||||
serviceName: contextConfig.serviceName,
|
||||
servicePort: contextConfig.servicePort,
|
||||
hostName: fileUrlObj.Host,
|
||||
cluster := wrapper.FQDNCluster{
|
||||
FQDN: contextConfig.serviceName,
|
||||
Port: contextConfig.servicePort,
|
||||
Host: fileUrlObj.Host,
|
||||
}
|
||||
return &contextCache{
|
||||
client: wrapper.NewClusterClient(cluster),
|
||||
|
||||
Reference in New Issue
Block a user