Commit 0413850d authored by Seth Jennings's avatar Seth Jennings

kubelet: volumemanager: poll immediate when waiting for volume attachment

parent c2536e2b
...@@ -352,7 +352,7 @@ func (vm *volumeManager) WaitForAttachAndMount(pod *v1.Pod) error { ...@@ -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). // like Downward API, depend on this to update the contents of the volume).
vm.desiredStateOfWorldPopulator.ReprocessPod(uniquePodName) vm.desiredStateOfWorldPopulator.ReprocessPod(uniquePodName)
err := wait.Poll( err := wait.PollImmediate(
podAttachAndMountRetryInterval, podAttachAndMountRetryInterval,
podAttachAndMountTimeout, podAttachAndMountTimeout,
vm.verifyVolumesMountedFunc(uniquePodName, expectedVolumes)) vm.verifyVolumesMountedFunc(uniquePodName, expectedVolumes))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment