mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
storage: Fix left over action script rename from disks.
Signed-off-by: Johannes Keyser <johanneskeyser@posteo.de>
This commit is contained in:
parent
dc1c0aa09d
commit
637e4babd0
@ -120,7 +120,7 @@ def is_expandable(device):
|
||||
|
||||
try:
|
||||
output = actions.superuser_run(
|
||||
'disks', ['is-partition-expandable', device])
|
||||
'storage', ['is-partition-expandable', device])
|
||||
except actions.ActionError:
|
||||
return False
|
||||
|
||||
@ -129,4 +129,4 @@ def is_expandable(device):
|
||||
|
||||
def expand_partition(device):
|
||||
"""Expand a partition."""
|
||||
actions.superuser_run('disks', ['expand-partition', device])
|
||||
actions.superuser_run('storage', ['expand-partition', device])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user