Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/src/main/java/org/zstack/sdk/ZSClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ private void fillNonQueryApiRequestBuilder(Request.Builder reqBuilder) throws Ex
private ApiResult pollResult(Response response) throws IOException {
if (!info.needPoll) {
throw new ApiException(String.format("[Internal Error] the api[%s] is not an async API but" +
" the server returns 201 status code", action.getClass().getSimpleName()));
" the server returns 202 status code", action.getClass().getSimpleName()));
}

Map body = gson.fromJson(response.body().string(), LinkedHashMap.class);
Expand Down