libcontainer/seccomp: Use for range over integers

The commit mentioned below has missed these changes.

Fixes: 17570625 ("Use for range over integers")
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
(cherry picked from commit 34da991298)
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Ariel Otilibili
2025-10-23 10:53:54 +02:00
committed by Kir Kolyshkin
parent 3747639db3
commit 16885f2d71
@@ -299,8 +299,8 @@ func TestEnosysStub_SingleArch(t *testing.T) {
}
func TestEnosysStub_MultiArch(t *testing.T) {
for end := 0; end < len(testArches); end++ {
for start := 0; start < end; start++ {
for end := range len(testArches) {
for start := range end {
var arches []string
for _, arch := range testArches[start:end] {
// "native" indicates a blank architecture field for seccomp, to test