Skip to content

Commit

Permalink
Update flexcounterorch.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomibitton committed Aug 30, 2021
1 parent 0febef7 commit fa568f7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions orchagent/flexcounterorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,12 @@ void FlexCounterOrch::doTask(Consumer &consumer)
fieldValues.emplace_back(FLEX_COUNTER_STATUS_FIELD, value);
m_flexCounterGroupTable->set(flexCounterGroupMap[key], fieldValues);
}
// This field is ignored since it is being used before getting into this loop.
// If it is exist and the value is 'true' we need to skip the iteration in order to delay the counter creation.
// The field will clear out and counter will be created when enable_counters script is called.
else if(field == FLEX_COUNTER_DELAY_STATUS_FIELD)
{}
{
// This field is ignored since it is being used before getting into this loop.
// If it is exist and the value is 'true' we need to skip the iteration in order to delay the counter creation.
// The field will clear out and counter will be created when enable_counters script is called.
}
else
{
SWSS_LOG_NOTICE("Unsupported field %s", field.c_str());
Expand Down

0 comments on commit fa568f7

Please sign in to comment.