mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
fix spelling mistakes in several modules (#36296)
* fix more spelling mistakes * fix spelling mistakes
This commit is contained in:
committed by
Dag Wieers
parent
a50db37c6c
commit
16c564c4b4
@@ -242,8 +242,8 @@ def grafana_delete_dashboard(module, data):
|
||||
else:
|
||||
raise GrafanaAPIException('Unable to update the dashboard %s : %s' % (data['slug'], info))
|
||||
else:
|
||||
# dashboard does not exists : do nothing
|
||||
result = {'msg': "Dashboard %s does not exists" % data['slug'],
|
||||
# dashboard does not exist, do nothing
|
||||
result = {'msg': "Dashboard %s does not exist." % data['slug'],
|
||||
'changed': False,
|
||||
'slug': data['slug']}
|
||||
|
||||
@@ -274,7 +274,7 @@ def grafana_export_dashboard(module, data):
|
||||
'slug': data['slug'],
|
||||
'changed': True}
|
||||
else:
|
||||
result = {'msg': "Dashboard %s does not exists" % data['slug'],
|
||||
result = {'msg': "Dashboard %s does not exist." % data['slug'],
|
||||
'slug': data['slug'],
|
||||
'changed': False}
|
||||
|
||||
|
||||
@@ -429,8 +429,8 @@ def grafana_delete_datasource(module, data):
|
||||
else:
|
||||
raise GrafanaAPIException('Unable to update the datasource id %s : %s' % (ds['id'], info))
|
||||
else:
|
||||
# datasource does not exists : do nothing
|
||||
result = {'msg': "Datasource %s does not exists" % data['name'],
|
||||
# datasource does not exist, do nothing
|
||||
result = {'msg': "Datasource %s does not exist." % data['name'],
|
||||
'changed': False,
|
||||
'id': 0,
|
||||
'name': data['name']}
|
||||
|
||||
Reference in New Issue
Block a user