Closed Kosta91 closed 2 years ago
Thought of one more thing. How does this code behave when the image doesn't have rsync, i.e. when it is using cp to do the copy and the progress file does not exist?
(It looks like probably it will fail gracefully but even so I'd rather that it not add error messages to the KD log in that case.)
Well, I added the checking if rsync is present at the container calling rsync --version
. If it is not present, the error will be not raised or logged
Thought of one more thing. How does this code behave when the image doesn't have rsync, i.e. when it is using cp to do the copy and the progress file does not exist?
(It looks like probably it will fail gracefully but even so I'd rather that it not add error messages to the KD log in that case.)