Skip to content

Commit

Permalink
Remove the 'activate' command
Browse files Browse the repository at this point in the history
It isn't used anymore.
  • Loading branch information
DemiMarie committed May 24, 2022
1 parent 3f327c6 commit 5eb6240
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions qubes/storage/lvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,9 +788,6 @@ def _get_lvm_cmdline(cmd):
elif action == 'extend':
assert len(cmd) == 3, 'wrong number of arguments for extend'
lvm_cmd = ["lvextend", "--size=" + cmd[2] + 'B', '--', cmd[1]]
elif action == 'activate':
assert len(cmd) == 2, 'wrong number of arguments for activate'
lvm_cmd = ['lvchange', '--activate=y', '--', cmd[1]]
elif action == 'rename':
assert len(cmd) == 3, 'wrong number of arguments for rename'
lvm_cmd = ['lvrename', '--', cmd[1], cmd[2]]
Expand Down

0 comments on commit 5eb6240

Please sign in to comment.