deleteSnapshotFromLocalDB silently ignores all errors #6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In
snapshot.go,deleteSnapshotFromLocalDB()logs errors but always returns nil:Callers like
PurgeSnapshotscheck the error and log it, but since this always returns nil, errors during local DB cleanup are silently lost. At minimum, errors should be collected and returned as a combined error.Ref: parent issue #1