Correctly display multiple jails snapshots
This commit is contained in:
10
cmd/utils.go
10
cmd/utils.go
@ -1659,12 +1659,18 @@ func initSnapshotSortStruct() SnapshotSort {
|
||||
NameDec: func(s1, s2 *Snapshot) bool {
|
||||
return s1.Name > s2.Name
|
||||
},
|
||||
DsNameInc: func(s1, s2 *Snapshot) bool {
|
||||
DsnameInc: func(s1, s2 *Snapshot) bool {
|
||||
return s1.Dsname < s2.Dsname
|
||||
},
|
||||
DsNameDec: func(s1, s2 *Snapshot) bool {
|
||||
DsnameDec: func(s1, s2 *Snapshot) bool {
|
||||
return s1.Dsname > s2.Dsname
|
||||
},
|
||||
JailnameInc: func(s1, s2 *Snapshot) bool {
|
||||
return s1.Jailname < s2.Jailname
|
||||
},
|
||||
JailnameDec: func(s1, s2 *Snapshot) bool {
|
||||
return s1.Jailname > s2.Jailname
|
||||
},
|
||||
MountpointInc: func(s1, s2 *Snapshot) bool {
|
||||
return s1.Mountpoint < s2.Mountpoint
|
||||
},
|
||||
|
Reference in New Issue
Block a user