Add missing profile argument to grafana4.get_user_data

This commit is contained in:
Bruno Binet 2018-07-19 18:07:25 +02:00
parent e828167114
commit 81f0cf8a3f

View File

@ -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,