unified-storage: Missing rename of index_server to search_server (#107469)

* rename
This commit is contained in:
Will Assis
2025-07-01 14:35:46 -04:00
committed by GitHub
parent fdf4935e42
commit fe7ca61a51
3 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -43,7 +43,7 @@ type StorageOptions struct {
// For unified-grpc
Address string
IndexServerAddress string
SearchServerAddress string
GrpcClientAuthenticationToken string
GrpcClientAuthenticationTokenExchangeURL string
GrpcClientAuthenticationTokenNamespace string
@@ -138,8 +138,8 @@ func (o *StorageOptions) ApplyTo(serverConfig *genericapiserver.RecommendedConfi
return err
}
var indexConn *grpc.ClientConn
if o.IndexServerAddress != "" {
indexConn, err = grpc.NewClient(o.IndexServerAddress,
if o.SearchServerAddress != "" {
indexConn, err = grpc.NewClient(o.SearchServerAddress,
grpc.WithStatsHandler(otelgrpc.NewClientHandler()),
grpc.WithTransportCredentials(insecure.NewCredentials()),
)