Add reno for map_replace and fix docs nit

I missed adding the reno in https://review.openstack.org/#/c/343731/
and there was a minor docs nit mentiond also.

Change-Id: Ib78ca19b96a239c0a06758c259e2e74e10ed26e5
This commit is contained in:
Steven Hardy 2016-07-20 08:46:36 +01:00
parent f930797e0d
commit ab57f5478a
2 changed files with 8 additions and 1 deletions

View File

@ -1327,7 +1327,7 @@ This resolves to a map containing ``{'K1': 'v1', 'k2': 'V2'}``.
The keys/values mappings are optional, either or both may be specified.
Note that an error is raised if a replacement defined in "keys" results
in a collision with an existing keys in the input map.
in a collision with an existing keys in the input or output map.
yaql
----

View File

@ -0,0 +1,7 @@
---
features:
- Add ``map_replace`` function, that takes 2 arguments
an input map and a map containing a ``keys`` and/or
``values`` map. key/value substitutions on the input
map are performed based on the mappings passed in
``keys`` and ``values``.