2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-04 18:10:50 +00:00

snapshot_group: Fix typo

This commit is contained in:
Torben Giesselmann 2023-03-03 19:07:57 -08:00
parent f646406822
commit 8161605f1b

View File

@ -68,7 +68,7 @@ type SnapshotGroupKey struct {
} }
// GroupSnapshots takes a list of snapshots and a grouping criteria and creates // GroupSnapshots takes a list of snapshots and a grouping criteria and creates
// a group list of snapshots. // a grouped list of snapshots.
func GroupSnapshots(snapshots Snapshots, groupBy SnapshotGroupByOptions) (map[string]Snapshots, bool, error) { func GroupSnapshots(snapshots Snapshots, groupBy SnapshotGroupByOptions) (map[string]Snapshots, bool, error) {
// group by hostname and dirs // group by hostname and dirs
snapshotGroups := make(map[string]Snapshots) snapshotGroups := make(map[string]Snapshots)