Skip to content

Commit e84a6ab

Browse files
lguohanprsunny
authored andcommitted
use sai_stat_id_t for new SAI header file (#769)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
1 parent dee34bc commit e84a6ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orchagent/pfcactionhandler.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -359,13 +359,13 @@ bool PfcWdLossyHandler::getHwCounters(PfcWdHwStats& counters)
359359
{
360360
SWSS_LOG_ENTER();
361361

362-
static const vector<sai_queue_stat_t> queueStatIds =
362+
static const vector<sai_stat_id_t> queueStatIds =
363363
{
364364
SAI_QUEUE_STAT_PACKETS,
365365
SAI_QUEUE_STAT_DROPPED_PACKETS,
366366
};
367367

368-
static const vector<sai_ingress_priority_group_stat_t> pgStatIds =
368+
static const vector<sai_stat_id_t> pgStatIds =
369369
{
370370
SAI_INGRESS_PRIORITY_GROUP_STAT_PACKETS,
371371
SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS,

0 commit comments

Comments
 (0)