mirror of https://github.com/grpc/grpc-java.git
xds: Pre-add fallback to xds client pool accessor
When we implement A71, we're no longer going to have a single xds client, but instead one per channel target. Add that parameter now, even though it is unused, to avoid managing the (internal) API breakage when we implement fallback.
This commit is contained in:
parent
c7e87d2180
commit
569956e022
|
|
@ -32,7 +32,8 @@ public final class InternalSharedXdsClientPoolProvider {
|
|||
SharedXdsClientPoolProvider.getDefaultProvider().setBootstrapOverride(bootstrap);
|
||||
}
|
||||
|
||||
public static ObjectPool<XdsClient> getOrCreate() throws XdsInitializationException {
|
||||
public static ObjectPool<XdsClient> getOrCreate(String target)
|
||||
throws XdsInitializationException {
|
||||
return SharedXdsClientPoolProvider.getDefaultProvider().getOrCreate();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue