mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +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
|
||||
splitContainerImageFs, splitErr := diskInfoProvider.HasDedicatedContainerFs(ctx)
|
||||
if splitErr != nil {
|
||||
klog.ErrorS(splitErr, "Eviction manager: failed to get HasDedicatedContainerFs")
|
||||
return nil, fmt.Errorf("eviction manager: failed to get HasDedicatedContainerFs: %w", splitErr)
|
||||
klog.ErrorS(splitErr, "eviction manager: failed to check if we have separate container filesystem. Ignoring.")
|
||||
}
|
||||
|
||||
// If we are a split filesystem but the feature is turned off
|
||||
|
Loading…
Reference in New Issue
Block a user