Skip to content

Commit ed51fce

Browse files
committed
Fix log when there is no data to sync (from WARNING to INFO).
1 parent a093a02 commit ed51fce

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGES.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Changelog
55
1.0.1 (unreleased)
66
------------------
77

8-
- Nothing changed yet.
8+
- Fix log when there is no data to sync (from WARNING to INFO).
9+
[cekk]
910

1011

1112
1.0.0 (2025-09-23)

src/redturtle/rsync/adapters/adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def get_data(self):
242242
return
243243
if not data:
244244
msg = "No data to sync."
245-
self.log_info(msg=msg, type="warning")
245+
self.log_info(msg=msg, type="info", force_sys_log=True)
246246
return
247247
return data
248248

0 commit comments

Comments
 (0)