Skip to content

Commit

Permalink
fix(autoware_node): fix autoware_node deregister respond
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Panferov <[email protected]>
  • Loading branch information
lexavtanke committed Feb 5, 2024
1 parent b036891 commit 5fdf4ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/autoware_node/src/autoware_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,12 @@ void AutowareNode::deregister(
response->status.status = autoware_control_center_msgs::srv::AutowareControlCenterDeregister::
Response::_status_type::FAILURE;
} else {
RCLCPP_WARN(get_logger(), "Node registered");
RCLCPP_WARN(get_logger(), "Node deregistered");
registered = false;
response->status.status = autoware_control_center_msgs::srv::AutowareControlCenterDeregister::
Response::_status_type::SUCCESS;
response->log_response = self_name + " was deregistered";
response->uuid_node = self_uuid;
response->name_node = self_name;
this->register_timer_->reset();
}
}
Expand Down

0 comments on commit 5fdf4ea

Please sign in to comment.