From 158856498b0130aee116b12ceee05de6f14a31e4 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Mon, 5 Jun 2023 12:41:47 +0200 Subject: [PATCH] [typos] Move the log related to the attribute reads for chip-tool a few lines up otherwise the header appears before the list of attributes (#27043) --- .../suites/commands/interaction_model/InteractionModel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/tests/suites/commands/interaction_model/InteractionModel.cpp b/src/app/tests/suites/commands/interaction_model/InteractionModel.cpp index 542f4ffd29368f..c6c68441a127d4 100644 --- a/src/app/tests/suites/commands/interaction_model/InteractionModel.cpp +++ b/src/app/tests/suites/commands/interaction_model/InteractionModel.cpp @@ -318,13 +318,13 @@ CHIP_ERROR InteractionModelReports::ReportAttribute(DeviceProxy * device, std::v std::vector clusterIds, std::vector attributeIds, ReadClient::InteractionType interactionType) { + ChipLogProgress(chipTool, + "Sending %sAttribute to:", interactionType == ReadClient::InteractionType::Subscribe ? "Subscribe" : "Read"); + InteractionModelConfig::AttributePathsConfig pathsConfig; ReturnErrorOnFailure( InteractionModelConfig::GetAttributePaths(endpointIds, clusterIds, attributeIds, mDataVersions, pathsConfig)); - ChipLogProgress(chipTool, - "Sending %sAttribute to:", interactionType == ReadClient::InteractionType::Subscribe ? "Subscribe" : "Read"); - ReadPrepareParams params(device->GetSecureSession().Value()); params.mpEventPathParamsList = nullptr; params.mEventPathParamsListSize = 0;