kubelet: volumemanager: poll immediate when waiting for volume attachment

This commit is contained in:
Seth Jennings 2018-08-02 16:41:15 -05:00
parent c2536e2b0d
commit 0413850d14

View File

@ -352,7 +352,7 @@ func (vm *volumeManager) WaitForAttachAndMount(pod *v1.Pod) error {
// like Downward API, depend on this to update the contents of the volume).
vm.desiredStateOfWorldPopulator.ReprocessPod(uniquePodName)
err := wait.Poll(
err := wait.PollImmediate(
podAttachAndMountRetryInterval,
podAttachAndMountTimeout,
vm.verifyVolumesMountedFunc(uniquePodName, expectedVolumes))