mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
doc/ref/renderers/index.rst: remove env support
This commit is contained in:
parent
a21bad82e5
commit
4953f7b0df
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ Here is a simple YAML renderer example:
|
|||
.. code-block:: python
|
||||
|
||||
import yaml
|
||||
def render(yaml_data, env='', sls='', **kws):
|
||||
def render(yaml_data, saltenv='', sls='', **kws):
|
||||
if not isinstance(yaml_data, basestring):
|
||||
yaml_data = yaml_data.read()
|
||||
data = yaml.load(yaml_data)
|
||||
|
|
Loading…
Add table
Reference in a new issue