From f83e4f3c440db85174bdee5fdf2eabeb637ff644 Mon Sep 17 00:00:00 2001 From: Gilbert Chen Date: Thu, 28 Jan 2021 00:06:49 -0500 Subject: [PATCH] Fix SNAPSHOT_INACTIVE log message --- src/duplicacy_snapshotmanager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duplicacy_snapshotmanager.go b/src/duplicacy_snapshotmanager.go index f033fc3..d5a47be 100644 --- a/src/duplicacy_snapshotmanager.go +++ b/src/duplicacy_snapshotmanager.go @@ -147,7 +147,7 @@ func (collection *FossilCollection) IsDeletable(isStrongConsistent bool, ignored // collection would have finsihed already, while a snapshot currently being created does not affect // this fossil collection. if lastSnapshotTime[hostID] > 0 && lastSnapshotTime[hostID] < time.Now().Unix()-maxSnapshotRunningTime*secondsInDay { - LOG_INFO("SNAPSHOT_INACTIVE", "Ignore snapshot %s whose last revision was created %d days ago", + LOG_INFO("SNAPSHOT_INACTIVE", "Ignore snapshot %s whose last revision was created more than %d days ago", hostID, maxSnapshotRunningTime) continue }