Skip to content

Commit fa568f7

Browse files
authored
Update flexcounterorch.cpp
1 parent 0febef7 commit fa568f7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

orchagent/flexcounterorch.cpp

+5-4
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,12 @@ void FlexCounterOrch::doTask(Consumer &consumer)
150150
fieldValues.emplace_back(FLEX_COUNTER_STATUS_FIELD, value);
151151
m_flexCounterGroupTable->set(flexCounterGroupMap[key], fieldValues);
152152
}
153-
// This field is ignored since it is being used before getting into this loop.
154-
// If it is exist and the value is 'true' we need to skip the iteration in order to delay the counter creation.
155-
// The field will clear out and counter will be created when enable_counters script is called.
156153
else if(field == FLEX_COUNTER_DELAY_STATUS_FIELD)
157-
{}
154+
{
155+
// This field is ignored since it is being used before getting into this loop.
156+
// If it is exist and the value is 'true' we need to skip the iteration in order to delay the counter creation.
157+
// The field will clear out and counter will be created when enable_counters script is called.
158+
}
158159
else
159160
{
160161
SWSS_LOG_NOTICE("Unsupported field %s", field.c_str());

0 commit comments

Comments
 (0)