win_reg_stat actually sets properties to be a dictionary, not a list (#31252)

(cherry picked from commit 8f62be7b7c)
pull/31285/head
Dustin Spicuzza 7 years ago committed by jborean93
parent 22d9135b87
commit 59beba32be

@ -73,10 +73,10 @@ exists:
type: boolean type: boolean
sample: True sample: True
properties: properties:
description: A list of all the properties and their values in the key. description: A dictionary containing all the properties and their values in the registry key.
returned: success, path exists and property not specified returned: success, path exists and property not specified
type: list type: dict
sample: [ sample: {
"binary_property" : { "binary_property" : {
"raw_value": ["0x01", "0x16"], "raw_value": ["0x01", "0x16"],
"type": "REG_BINARY", "type": "REG_BINARY",
@ -87,7 +87,7 @@ properties:
"type": "REG_MULTI_SZ", "type": "REG_MULTI_SZ",
"value": ["a", "b"] "value": ["a", "b"]
} }
] }
sub_keys: sub_keys:
description: A list of all the sub keys of the key specified. description: A list of all the sub keys of the key specified.
returned: success, path exists and property not specified returned: success, path exists and property not specified

Loading…
Cancel
Save