Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
kubevirt.31335
0003-Update-the-cgroup-tests-for-the-new-change...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-Update-the-cgroup-tests-for-the-new-changes-in-runc-.patch of Package kubevirt.31335
From c9c59e22ff5924580b4d085cafdfdd797675a4e5 Mon Sep 17 00:00:00 2001 From: orenc1 <ocohen@redhat.com> Date: Thu, 14 Jul 2022 19:45:27 +0300 Subject: [PATCH 3/3] Update the cgroup tests for the new changes in runc v1.1.2 Signed-off-by: orenc1 <ocohen@redhat.com> --- pkg/virt-handler/cgroup/cgroup_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/virt-handler/cgroup/cgroup_test.go b/pkg/virt-handler/cgroup/cgroup_test.go index e91862d92..064809075 100644 --- a/pkg/virt-handler/cgroup/cgroup_test.go +++ b/pkg/virt-handler/cgroup/cgroup_test.go @@ -152,9 +152,9 @@ func newMockManagerFromCtrl(ctrl *gomock.Controller, version CgroupVersion) (*mo var err error if version == V1 { - realManager, err = newCustomizedV1Manager(&runc_configs.Cgroup{}, nil, false, execVirtChrootFunc, getCurrentlyDefinedRulesFunc) + realManager, err = newCustomizedV1Manager(&runc_configs.Cgroup{Resources: &runc_configs.Resources{}}, nil, execVirtChrootFunc, getCurrentlyDefinedRulesFunc) } else { - realManager, err = newCustomizedV2Manager(&runc_configs.Cgroup{}, "fake/dir/path", false, execVirtChrootFunc) + realManager, err = newCustomizedV2Manager(&runc_configs.Cgroup{Resources: &runc_configs.Resources{}}, "fake/dir/path", execVirtChrootFunc) } if err != nil { -- 2.37.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor