Skip to content

Commit ef182ba

Browse files
isamu-takagiTakaHoribe
authored andcommitted
fix all OK
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
1 parent 6cdcb27 commit ef182ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/diagnostic_graph_utils/src/node/logging.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void LoggingNode::on_create(DiagGraph::ConstSharedPtr graph)
5353
void LoggingNode::on_timer()
5454
{
5555
static const auto message = "The target mode is not available for the following reasons:";
56-
if (root_unit_) {
56+
if (root_unit_ && root_unit_->level() != DiagUnit::DiagnosticStatus::OK) {
5757
dump_text_.str("");
5858
dump_text_.clear(std::stringstream::goodbit);
5959
dump_unit(root_unit_, 0, " ");

0 commit comments

Comments
 (0)