bug fix, was not checking vserver (#60892)

This commit is contained in:
Chris Archibald 2019-08-20 10:49:33 -07:00 committed by ansibot
parent 684661b5e0
commit cba8e12e3c

View file

@ -170,6 +170,7 @@ class NetAppOntapcifsServer(object):
cifs_server_info = netapp_utils.zapi.NaElement('cifs-server-get-iter') cifs_server_info = netapp_utils.zapi.NaElement('cifs-server-get-iter')
cifs_server_attributes = netapp_utils.zapi.NaElement('cifs-server-config') cifs_server_attributes = netapp_utils.zapi.NaElement('cifs-server-config')
cifs_server_attributes.add_new_child('cifs-server', self.cifs_server_name) cifs_server_attributes.add_new_child('cifs-server', self.cifs_server_name)
cifs_server_attributes.add_new_child('vserver', self.vserver)
query = netapp_utils.zapi.NaElement('query') query = netapp_utils.zapi.NaElement('query')
query.add_child_elem(cifs_server_attributes) query.add_child_elem(cifs_server_attributes)
cifs_server_info.add_child_elem(query) cifs_server_info.add_child_elem(query)