Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wudi committed Oct 17, 2023
1 parent 2a42adc commit 92cbbdd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -95,7 +95,7 @@ private void commitTransaction(DorisCommittable committable) throws IOException
// http execute...
try (CloseableHttpResponse response = httpClient.execute(httpPut)) {
StatusLine statusLine = response.getStatusLine();
if (201 == statusLine.getStatusCode()) {
if (200 == statusLine.getStatusCode()) {
if (response.getEntity() != null) {
String loadResult = EntityUtils.toString(response.getEntity());
Map<String, String> res = new ObjectMapper().readValue(loadResult, new TypeReference<HashMap<String, String>>() {

0 comments on commit 92cbbdd

Please sign in to comment.