Skip to content

Commit

Permalink
ceph_volume: set changed to false to readonly actions
Browse files Browse the repository at this point in the history
Signed-off-by: Seena Fallah <[email protected]>
(cherry picked from commit fb13ee3)
  • Loading branch information
clwluvw committed Apr 8, 2024
1 parent 3ee8744 commit 70836dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/ceph_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,11 +626,13 @@ def run_module():

elif action == 'list':
# List Ceph LVM Metadata on a device
changed = False
rc, cmd, out, err = exec_command(
module, list_osd(module, container_image))

elif action == 'inventory':
# List storage device inventory.
changed = False
rc, cmd, out, err = exec_command(
module, list_storage_inventory(module, container_image))

Expand Down

0 comments on commit 70836dd

Please sign in to comment.