Skip to content

Commit 6c578eb

Browse files
authored
Fix Venice load single table (#188)
1 parent f929fd6 commit 6c578eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hoptimator-venice/src/main/java/com/linkedin/hoptimator/venice/ClusterSchema.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ protected Map<String, Table> loadAllTables() throws Exception {
101101
List<String> clusters = Arrays.asList(clusterStr.split(","));
102102

103103
try (ControllerClient controllerClient = createControllerClient(clusters.get(0), getSslFactory())) {
104-
ControllerResponse controllerResponse = controllerClient.getStore(name);
104+
ControllerResponse controllerResponse = controllerClient.discoverCluster(name);
105105
if (controllerResponse.isError() && controllerResponse.getErrorType().equals(ErrorType.STORE_NOT_FOUND)) {
106106
return null;
107107
} else if (controllerResponse.isError()) {

0 commit comments

Comments
 (0)