Skip to content

Commit

Permalink
add missing ems logs (ansible#54813)
Browse files Browse the repository at this point in the history
* add missing ems logs

* fix issue
  • Loading branch information
carchi8py authored and gundalow committed Apr 10, 2019
1 parent a99bb0e commit c582e89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ansible/modules/storage/netapp/na_ontap_motd.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ def _create_call(self):
return api_call

def commit_changes(self):
results = netapp_utils.get_cserver(self.server)
cserver = netapp_utils.setup_na_ontap_zapi(module=self.module, vserver=results)
netapp_utils.ems_log_event("na_ontap_motd", cserver)
if self.parameters['state'] == 'absent':
# Just make sure it is empty
self.parameters['message'] = ''
Expand Down

0 comments on commit c582e89

Please sign in to comment.