diff --git a/sdk/src/main/java/org/zstack/sdk/ZSClient.java b/sdk/src/main/java/org/zstack/sdk/ZSClient.java index 569e1d5f..47cd43ee 100644 --- a/sdk/src/main/java/org/zstack/sdk/ZSClient.java +++ b/sdk/src/main/java/org/zstack/sdk/ZSClient.java @@ -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);