-
Notifications
You must be signed in to change notification settings - Fork 812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#4074] optimize cors model init failed unclear prompt problem. #4095
Conversation
@@ -85,16 +86,16 @@ public static <CLIENT_POOL> DeploymentOptions createClientDeployOptions( | |||
} | |||
|
|||
// deploy Verticle and wait for its success. do not call this method in event-loop thread | |||
public static <VERTICLE extends Verticle> boolean blockDeploy(Vertx vertx, | |||
public static <VERTICLE extends Verticle> Map<String, String> blockDeploy(Vertx vertx, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return Map<String, Object>
to avoid data type convert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
VertxUtils.blockDeploy(vertx, ClientVerticle.class, deployOptions); | ||
Map<String, String> result = VertxUtils.blockDeploy(vertx, ClientVerticle.class, deployOptions); | ||
if (!Boolean.parseBoolean(result.get("code"))) { | ||
throw new Exception(result.get("message")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
throw new IllegalStageException
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## 2.8.x #4095 +/- ##
============================================
+ Coverage 74.13% 74.16% +0.03%
Complexity 707 707
============================================
Files 1598 1594 -4
Lines 40255 40153 -102
Branches 3676 3659 -17
============================================
- Hits 29842 29779 -63
+ Misses 8920 8888 -32
+ Partials 1493 1486 -7 ☔ View full report in Codecov by Sentry. |
No description provided.