Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Mar 26, 2024
1 parent 07f7d1a commit d590399
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -446,15 +446,11 @@ public Cloud.AlterObjStoreInfoResponse alterObjStoreInfo(Cloud.AlterObjStoreInfo
public Cloud.GetRLTaskCommitAttachResponse
getRLTaskCommitAttach(Cloud.GetRLTaskCommitAttachRequest request)
throws RpcException {
if (metaServiceHostPort == null) {
throw new RpcException("", "cloud mode, please configure cloud_unique_id and meta_service_endpoint");
}
TNetworkAddress metaAddress = new TNetworkAddress(metaServiceHostPort.first, metaServiceHostPort.second);
try {
final MetaServiceClient client = getProxy(metaAddress);
final MetaServiceClient client = getProxy();
return client.getRLTaskCommitAttach(request);
} catch (Exception e) {
throw new RpcException(metaAddress.hostname, e.getMessage(), e);
throw new RpcException("", e.getMessage(), e);
}
}
}

0 comments on commit d590399

Please sign in to comment.