Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Sun <stephens@nvidia.com>
  • Loading branch information
stephenxs committed Apr 3, 2024
1 parent 21e5c8e commit 782af6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orchagent/saihelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ static inline void notifySyncdCounterOperation(bool is_gearbox, const sai_attrib
{
if (sai_switch_api == nullptr)
{
// This can happen during destrction of the orchagent daemon.
// This can happen during destruction of the orchagent daemon.
SWSS_LOG_ERROR("sai_switch_api is NULL");
return;
}
Expand Down Expand Up @@ -901,7 +901,7 @@ static inline void operateFlexCounterGroupDatabase(const string &group,
bool is_gearbox)
{
std::vector<FieldValueTuple> fvTuples;
auto &flexCounterGroupTable = is_gearbox ? gFlexCounterGroupTable : gGearBoxFlexCounterGroupTable;
auto &flexCounterGroupTable = is_gearbox ? gGearBoxFlexCounterGroupTable : gFlexCounterGroupTable;

operateFlexCounterDbSingleField(fvTuples, POLL_INTERVAL_FIELD, poll_interval);
operateFlexCounterDbSingleField(fvTuples, STATS_MODE_FIELD, stats_mode);
Expand Down

0 comments on commit 782af6d

Please sign in to comment.