add missing ems logs (#54813)

* add missing ems logs

* fix issue
pull/55115/head
Chris Archibald 6 years ago committed by John R Barker
parent a99bb0e493
commit c582e89f45

@ -127,6 +127,9 @@ class CDotMotd(object):
return api_call return api_call
def commit_changes(self): 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': if self.parameters['state'] == 'absent':
# Just make sure it is empty # Just make sure it is empty
self.parameters['message'] = '' self.parameters['message'] = ''

Loading…
Cancel
Save