zfs changes fixup

This commit is contained in:
Christian Schwarz
2020-04-05 20:57:49 +02:00
parent 2c15db9cfe
commit da8b168573
3 changed files with 11 additions and 14 deletions
+2 -2
View File
@@ -157,7 +157,7 @@ func versionRelnamesSorted(versions []zfs.FilesystemVersion) []string {
for _, v := range versions {
vstrs = append(vstrs, v.RelName())
}
sort.Sort(sort.StringSlice(vstrs))
sort.Strings(vstrs)
return vstrs
}
@@ -171,6 +171,6 @@ func datasetToStringSortedTrimPrefix(prefix *zfs.DatasetPath, paths []*zfs.Datas
}
pstrs = append(pstrs, trimmed.ToString())
}
sort.Sort(sort.StringSlice(pstrs))
sort.Strings(pstrs)
return pstrs
}