Skip to content

Commit f6cbaa6

Browse files
PolonaMjustinc1
authored andcommitted
Update return documentation - dict to listPartially revert return value documentation for vm module - dict vs list
Before commit 53c5e76 (in main, same as d9218cb in v1.2.0) documentation said vm module returns in record field a list with a single item. This is still true, so leave this in documentation. We might later change that, so that vm module will actually return record with type dict.
1 parent 709a19f commit f6cbaa6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/modules/vm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@
269269
description:
270270
- Created VM, if creating the record. If deleting the record, none is returned.
271271
returned: success
272-
type: dict
272+
type: list
273+
elements: dict
273274
contains:
274275
vm_name:
275276
description: Human-readable virtual machine name

0 commit comments

Comments
 (0)