mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
bug: fix a bug when the check for dedicated container fs fails
This commit is contained in:
parent
c25563b9ab
commit
742ca47e72
@ -260,8 +260,7 @@ func (m *managerImpl) synchronize(diskInfoProvider DiskInfoProvider, podFunc Act
|
|||||||
m.dedicatedImageFs = &hasImageFs
|
m.dedicatedImageFs = &hasImageFs
|
||||||
splitContainerImageFs, splitErr := diskInfoProvider.HasDedicatedContainerFs(ctx)
|
splitContainerImageFs, splitErr := diskInfoProvider.HasDedicatedContainerFs(ctx)
|
||||||
if splitErr != nil {
|
if splitErr != nil {
|
||||||
klog.ErrorS(splitErr, "Eviction manager: failed to get HasDedicatedContainerFs")
|
klog.ErrorS(splitErr, "eviction manager: failed to check if we have separate container filesystem. Ignoring.")
|
||||||
return nil, fmt.Errorf("eviction manager: failed to get HasDedicatedContainerFs: %w", splitErr)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we are a split filesystem but the feature is turned off
|
// If we are a split filesystem but the feature is turned off
|
||||||
|
Loading…
Reference in New Issue
Block a user