mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add missing profile argument to grafana4.get_user_data
This commit is contained in:
parent
e828167114
commit
81f0cf8a3f
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ def present(name,
|
|||
user = __salt__['grafana4.get_user'](name, profile)
|
||||
ret['changes']['new'] = user
|
||||
|
||||
user_data = __salt__['grafana4.get_user_data'](user['id'])
|
||||
user_data = __salt__['grafana4.get_user_data'](user['id'], profile=profile)
|
||||
data = _get_json_data(login=name, email=email, name=fullname, theme=theme,
|
||||
defaults=user_data)
|
||||
if data != _get_json_data(login=None, email=None, name=None, theme=None,
|
||||
|
|
Loading…
Add table
Reference in a new issue