Skip to content

Commit

Permalink
Ensure info is returned under volume dict
Browse files Browse the repository at this point in the history
Signed-off-by: Alina Buzachis <[email protected]>
  • Loading branch information
alinabuzachis committed Oct 25, 2024
1 parent 975541a commit 0639316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/ec2_vol.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def attach_volume(
module.exit_json(
changed=False,
msg=f"IN CHECK MODE - volume already attached to instance: {instance_id}.",
**volume_dict,
volume=volume_dict,
)
if not volume_dict["multi_attach_enabled"]:
# volumes without MultiAttach Enabled can be attached to 1 instance only
Expand Down

0 comments on commit 0639316

Please sign in to comment.