Skip to content

Commit

Permalink
Bug 2005438: sleep between checks for rsync completion (#1208)
Browse files Browse the repository at this point in the history
  • Loading branch information
rayfordj committed Sep 20, 2021
1 parent 5fb8808 commit f498078
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/controller/directvolumemigration/rsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -1808,7 +1808,9 @@ func (req rsyncClientPodRequirements) getRsyncClientPodTemplate() corev1.Pod {
do test -f /usr/share/rsync-stunnel-mgmt/rsync-client-container-done
if [ $? -eq 0 ]
then
break
break
else
sleep 1
fi
done
exit 0`,
Expand Down

0 comments on commit f498078

Please sign in to comment.