File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
pkg/kubelet/volumemanager/cache Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -717,7 +717,7 @@ func (asw *actualStateOfWorld) AddPodToVolume(markVolumeOpts operationexecutor.M
717
717
// Update uncertain volumes - the new markVolumeOpts may have updated information.
718
718
// Especially reconstructed volumes (marked as uncertain during reconstruction) need
719
719
// an update.
720
- updateUncertainVolume = utilfeature .DefaultFeatureGate .Enabled (features .SELinuxMountReadWriteOncePod ) && podObj .volumeMountStateForPod == operationexecutor .VolumeMountUncertain
720
+ updateUncertainVolume = utilfeature .DefaultFeatureGate .Enabled (features .NewVolumeManagerReconstruction ) && podObj .volumeMountStateForPod == operationexecutor .VolumeMountUncertain
721
721
}
722
722
if ! podExists || updateUncertainVolume {
723
723
// Add new mountedPod or update existing one.
You can’t perform that action at this time.
0 commit comments