File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ func (m *podContainerManagerImpl) tryKillingCgroupProcesses(podCgroup CgroupName
187
187
func (m * podContainerManagerImpl ) Destroy (podCgroup CgroupName ) error {
188
188
// Try killing all the processes attached to the pod cgroup
189
189
if err := m .tryKillingCgroupProcesses (podCgroup ); err != nil {
190
- klog .V ( 3 ). Infof ("failed to kill all the processes attached to the %v cgroups" , podCgroup )
190
+ klog .Warningf ("failed to kill all the processes attached to the %v cgroups" , podCgroup )
191
191
return fmt .Errorf ("failed to kill all the processes attached to the %v cgroups : %v" , podCgroup , err )
192
192
}
193
193
@@ -197,6 +197,7 @@ func (m *podContainerManagerImpl) Destroy(podCgroup CgroupName) error {
197
197
ResourceParameters : & ResourceConfig {},
198
198
}
199
199
if err := m .cgroupManager .Destroy (containerConfig ); err != nil {
200
+ klog .Warningf ("failed to delete cgroup paths for %v : %v" , podCgroup , err )
200
201
return fmt .Errorf ("failed to delete cgroup paths for %v : %v" , podCgroup , err )
201
202
}
202
203
return nil
You can’t perform that action at this time.
0 commit comments