Go ahead and sort the partition list
We were using sorted but not storing the result. Do so now. Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
This commit is contained in:
parent
c652650e1c
commit
525ae944b6
|
@ -318,7 +318,7 @@ class FilesystemModel(ModelPolicy):
|
|||
dev.disk.partitions.items()]
|
||||
partitions += partnames
|
||||
|
||||
sorted(partitions)
|
||||
partitions = sorted(partitions)
|
||||
log.debug('probe_storage: get_partitions() returns: {}'.format(
|
||||
partitions))
|
||||
return partitions
|
||||
|
|
Loading…
Reference in New Issue