Skip to content

Commit

Permalink
Allow rsync stderr in the form used by github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-riggs committed Aug 22, 2024
1 parent eda8036 commit f9aa9c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
EOF
cat <<EOF >Dockerfile
FROM rabbitmq:3.12-management
FROM rabbitmq:3.13-management
COPY rabbitmq.conf /etc/rabbitmq/rabbitmq.conf
EOF
Expand Down
4 changes: 2 additions & 2 deletions src/murfey/util/rsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ def _parse_rsync_stderr(self, stderr: bytes):
if stringy_stderr:
if (
stringy_stderr.startswith("rsync: link_stat")
and "failed" in stringy_stderr
):
or stringy_stderr.startswith("rsync: [sender] link_stat")
) and "failed" in stringy_stderr:
failed_msg = stringy_stderr.split()
self._failed_tmp.append(
failed_msg[failed_msg.index("failed:") - 1].replace('"', "")
Expand Down

0 comments on commit f9aa9c3

Please sign in to comment.