-
Notifications
You must be signed in to change notification settings - Fork 186
Fix workbench issue in backported 1.11 branch: error message cannot display #943
Fix workbench issue in backported 1.11 branch: error message cannot display #943
Conversation
}; | ||
} | ||
|
||
// response: IHttpResponse<ResponseData> |
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.
Do we need to leave these comments in?
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.
Yes I added this comment here to remind us that the responses of success and error are of different types
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.
LGTM- one minor comment
@@ -251,7 +251,8 @@ export class Main extends React.Component<MainProps, MainState> { | |||
}; | |||
} | |||
|
|||
processQueryResponse(response: IHttpResponse<ResponseData>): ResponseDetail<string> { | |||
processQueryResponse(response: any): ResponseDetail<string> { | |||
console.log(response) |
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.
unnecessary console.log?
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.
removed, thanks!
Codecov Report
@@ Coverage Diff @@
## opendistro-1.11-rc3 #943 +/- ##
======================================================
Coverage 99.86% 99.86%
Complexity 2320 2320
======================================================
Files 230 230
Lines 5337 5337
Branches 346 346
======================================================
Hits 5330 5330
Misses 5 5
Partials 2 2 Continue to review full report at Codecov.
|
Issue #, if available:
Description of changes:
Before:
After:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.