forked from TrueCloudLab/restic
snapshot_group: Fix typo
This commit is contained in:
parent
f646406822
commit
8161605f1b
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ type SnapshotGroupKey struct {
|
|||
}
|
||||
|
||||
// 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) {
|
||||
// group by hostname and dirs
|
||||
snapshotGroups := make(map[string]Snapshots)
|
||||
|
|
Loading…
Add table
Reference in a new issue