In case an user wants to get extract just one element from the json object, he has to pass it in a list anyway
"global.$peers$.*.is_enabled" won't work
returns: ({'index_element[3]': {'new_value': False, 'old_value': True}}, False)
"global.$peers$.*.[is_enabled]" will work
returns: ({'7.7.7.7': {'is_enabled': {'new_value': False, 'old_value': True}}}, False)
We can either fix or document as requirement
In case an user wants to get extract just one element from the json object, he has to pass it in a list anyway
"global.$peers$.*.is_enabled"won't workreturns:
({'index_element[3]': {'new_value': False, 'old_value': True}}, False)"global.$peers$.*.[is_enabled]"will workreturns:
({'7.7.7.7': {'is_enabled': {'new_value': False, 'old_value': True}}}, False)We can either fix or document as requirement