imay commented on a change in pull request #1624: Fix tablet restore api in
BE(#1623)
URL: https://github.com/apache/incubator-doris/pull/1624#discussion_r312800888
##########
File path: be/src/http/action/restore_tablet_action.cpp
##########
@@ -86,11 +86,11 @@ Status RestoreTabletAction::_handle(HttpRequest *req) {
TabletSharedPtr tablet =
StorageEngine::instance()->tablet_manager()->get_tablet(tablet_id,
schema_hash);
- if (tablet.get() != nullptr) {
+ if (tablet = nullptr) {
Review comment:
```suggestion
if (tablet == nullptr) {
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]