-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* defect fix ECS02A-152 * added copyright and author
- Loading branch information
1 parent
983ac96
commit 79c8483
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/python | ||
# Copyright: (c) 2020-2024, Dell Technologies | ||
# Copyright: (c) 2020-2025, Dell Technologies | ||
|
||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | ||
|
||
|
@@ -27,6 +27,7 @@ | |
- Bhavneet Sharma(@Bhavneet-Sharma) <[email protected]> | ||
- Trisha Datta(@trisha-dell) <[email protected]> | ||
- Kritika Bhateja(@Kritika-Bhateja-03) <ansible.team.dell.com>) | ||
- Saksham Nautiyal (@Saksham-Nautiyal) <[email protected]> | ||
options: | ||
access_zone: | ||
|
@@ -739,7 +740,7 @@ def _check_read_only_clients(self, nfs_export, playbook_client_dict, current_cli | |
return mod_flag, nfs_export | ||
|
||
if client_state is None: | ||
if playbook_client_dict['read_only_clients'] != current_client_dict['read_only_clients']: | ||
if sorted(playbook_client_dict['read_only_clients']) != sorted(current_client_dict['read_only_clients']): | ||
current_client_dict['read_only_clients'] = playbook_client_dict['read_only_clients'] | ||
mod_flag = True | ||
for client in playbook_client_dict['read_only_clients']: | ||
|
@@ -766,7 +767,7 @@ def _check_root_clients(self, nfs_export, playbook_client_dict, current_client_d | |
return mod_flag, nfs_export | ||
|
||
if client_state is None: | ||
if playbook_client_dict['root_clients'] != current_client_dict['root_clients']: | ||
if sorted(playbook_client_dict['root_clients']) != sorted(current_client_dict['root_clients']): | ||
current_client_dict['root_clients'] = playbook_client_dict['root_clients'] | ||
mod_flag = True | ||
for client in playbook_client_dict['root_clients']: | ||
|