@@ -169,9 +169,9 @@ class DataModelLogger
169
169
while (iter.Next ())
170
170
{
171
171
++i;
172
- std::string label = std::string (" [" ) + std::to_string (i) + " ]" ;
172
+ std::string index = std::string (" [" ) + std::to_string (i) + " ]" ;
173
173
std::string item = std::to_string (iter.GetValue ()) + " (" + ClusterIdToText (iter.GetValue ()) + " )" ;
174
- DataModelLogger::LogString (label , indent + 1 , item);
174
+ DataModelLogger::LogString (index , indent + 1 , item);
175
175
}
176
176
if (iter.GetStatus () != CHIP_NO_ERROR)
177
177
{
@@ -191,9 +191,9 @@ class DataModelLogger
191
191
while (iter.Next ())
192
192
{
193
193
++i;
194
- std::string label = std::string (" [" ) + std::to_string (i) + " ]" ;
194
+ std::string index = std::string (" [" ) + std::to_string (i) + " ]" ;
195
195
std::string item = std::to_string (iter.GetValue ()) + " (" + AttributeIdToText (cluster, iter.GetValue ()) + " )" ;
196
- DataModelLogger::LogString (label , indent + 1 , item);
196
+ DataModelLogger::LogString (index , indent + 1 , item);
197
197
}
198
198
if (iter.GetStatus () != CHIP_NO_ERROR)
199
199
{
@@ -213,9 +213,9 @@ class DataModelLogger
213
213
while (iter.Next ())
214
214
{
215
215
++i;
216
- std::string label = std::string (" [" ) + std::to_string (i) + " ]" ;
216
+ std::string index = std::string (" [" ) + std::to_string (i) + " ]" ;
217
217
std::string item = std::to_string (iter.GetValue ()) + " (" + CommandIdToText (cluster, iter.GetValue ()) + " )" ;
218
- DataModelLogger::LogString (label , indent + 1 , item);
218
+ DataModelLogger::LogString (index , indent + 1 , item);
219
219
}
220
220
if (iter.GetStatus () != CHIP_NO_ERROR)
221
221
{
0 commit comments