1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

add missing ems logs (#54813)

* add missing ems logs

* fix issue
This commit is contained in:
Chris Archibald 2019-04-10 12:37:16 -07:00 committed by John R Barker
parent a99bb0e493
commit c582e89f45

View file

@ -127,6 +127,9 @@ class CDotMotd(object):
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'] = ''