From f7cd30c3bcf768fd4adc01ecb2ec15ee9ac0d1a8 Mon Sep 17 00:00:00 2001 From: Srigovind Nayak <5201843+konidev20@users.noreply.github.com> Date: Mon, 20 Oct 2025 19:39:07 +0530 Subject: [PATCH] fix: restic.ID imports in snapshot_policy --- internal/data/snapshot_policy.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/data/snapshot_policy.go b/internal/data/snapshot_policy.go index 15df4f496..5708a342d 100644 --- a/internal/data/snapshot_policy.go +++ b/internal/data/snapshot_policy.go @@ -8,6 +8,7 @@ import ( "time" "github.com/restic/restic/internal/debug" + "github.com/restic/restic/internal/restic" ) // ExpirePolicy configures which snapshots should be automatically removed. @@ -165,7 +166,7 @@ func findLatestTimestamp(list Snapshots) time.Time { return latest } -func findParentSnapshot(list Snapshots, id ID) *Snapshot { +func findParentSnapshot(list Snapshots, id restic.ID) *Snapshot { for _, sn := range list { if sn.ID().Equal(id) { return sn