server: sync: make skip reason message more genenric

By specifying that the snapshot is being skipped because of the
condition met on the sync target instead of 'local', the same message
can be reused for the sync job in push direction without loosing
sense.
This commit is contained in:
Christian Ebner 2024-09-12 16:32:59 +02:00 committed by Fabian Grünbichler
parent 2f05d211c4
commit a4f08cbbbb

View File

@ -480,7 +480,8 @@ impl std::fmt::Display for SkipReason {
f, f,
"{}", "{}",
match self { match self {
SkipReason::AlreadySynced => "older than the newest local snapshot", SkipReason::AlreadySynced =>
"older than the newest snapshot present on sync target",
SkipReason::TransferLast => "due to transfer-last", SkipReason::TransferLast => "due to transfer-last",
} }
) )