This commit is contained in:
2026-06-19 17:34:28 +03:00
parent cd5d1c9d0b
commit b897b3447a
1513 changed files with 1 additions and 107093 deletions

View File

@@ -1,19 +0,0 @@
package vfpool
// IDs gets array of VFPool IDs from ListVFPool struct
func (lv ListVFPool) IDs() []uint64 {
res := make([]uint64, 0, len(lv.Data))
for _, e := range lv.Data {
res = append(res, e.ID)
}
return res
}
// IDs gets array of VF IDs from VFSInfoList struct
func (lv VFSInfoList) IDs() []uint64 {
res := make([]uint64, 0, len(lv))
for _, e := range lv {
res = append(res, e.ID)
}
return res
}