From 18cc66ee85b76ae1b6aa49ec0b9a88c38aaf4d26 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 22 Jan 2020 15:06:28 +0100 Subject: [PATCH] src/api2/pull.rs: use new Datastore::last_successful_backup helper Do not fail if local group does not exists. --- src/api2/pull.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api2/pull.rs b/src/api2/pull.rs index a5e64548..0c70ad51 100644 --- a/src/api2/pull.rs +++ b/src/api2/pull.rs @@ -257,7 +257,7 @@ pub async fn pull_group( let auth_info = client.login().await?; - let last_sync = group.last_successful_backup(&tgt_store.base_path())?; + let last_sync = tgt_store.last_successful_backup(group)?; for item in list { let backup_time = Utc.timestamp(item.backup_time, 0);