diff --git a/meta/sai_meta_schedulergroup.cpp b/meta/sai_meta_schedulergroup.cpp index 6665ef2385bc..c97347451a4d 100644 --- a/meta/sai_meta_schedulergroup.cpp +++ b/meta/sai_meta_schedulergroup.cpp @@ -26,7 +26,7 @@ const sai_attr_metadata_t sai_scheduler_group_attr_metadata[] = { .attridname = "SAI_SCHEDULER_GROUP_ATTR_CHILD_LIST", .serializationtype = SAI_SERIALIZATION_TYPE_OBJECT_LIST, .flags = SAI_ATTR_FLAGS_READ_ONLY, - .allowedobjecttypes = { SAI_OBJECT_TYPE_SCHEDULER }, // TODO there may be different types like QUEUE or PORT here + .allowedobjecttypes = { SAI_OBJECT_TYPE_SCHEDULER_GROUP, SAI_OBJECT_TYPE_QUEUE }, .allownullobjectid = false, .defaultvaluetype = SAI_DEFAULT_VALUE_TYPE_NONE, .defaultvalue = { },