mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
snapshot_group: Fix typo
This commit is contained in:
parent
f646406822
commit
8161605f1b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user