mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user