Skip to content

Commit

Permalink
bug fix, was not checking vserver (ansible#60892)
Browse files Browse the repository at this point in the history
  • Loading branch information
carchi8py authored and ansibot committed Aug 20, 2019
1 parent 684661b commit cba8e12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ansible/modules/storage/netapp/na_ontap_cifs_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def get_cifs_server(self):
cifs_server_info = netapp_utils.zapi.NaElement('cifs-server-get-iter')
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('vserver', self.vserver)
query = netapp_utils.zapi.NaElement('query')
query.add_child_elem(cifs_server_attributes)
cifs_server_info.add_child_elem(query)
Expand Down

0 comments on commit cba8e12

Please sign in to comment.