mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +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:
|
try:
|
||||||
output = actions.superuser_run(
|
output = actions.superuser_run(
|
||||||
'disks', ['is-partition-expandable', device])
|
'storage', ['is-partition-expandable', device])
|
||||||
except actions.ActionError:
|
except actions.ActionError:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
@ -129,4 +129,4 @@ def is_expandable(device):
|
|||||||
|
|
||||||
def expand_partition(device):
|
def expand_partition(device):
|
||||||
"""Expand a partition."""
|
"""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