mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
a small, and unfortunate error
This commit is contained in:
parent
48d2b01e6c
commit
c5b8e442f9
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ def present(name, definition):
|
|||
|
||||
ret = {'name': name, 'changes': {}, 'result': True, 'comment': ''}
|
||||
|
||||
index_exists = __salt__['elasticsearch.index_exists'](name=name)
|
||||
index_exists = __salt__['elasticsearch.index_exists'](index=name)
|
||||
if not index_exists:
|
||||
if __opts__['test']:
|
||||
ret['comment'] = 'Index {0} will be created'.format(name)
|
||||
|
|
Loading…
Add table
Reference in a new issue