Fixed an issue where ignore owner is not working when owner and grants both are different

This commit is contained in:
Akshay Joshi 2023-08-16 18:46:42 +05:30
parent 1adde6084f
commit edd1783353

View File

@ -329,7 +329,7 @@ def _get_identical_and_different_list(intersect_keys, source_dict, target_dict,
temp_tgt_params = copy.deepcopy(target_params) temp_tgt_params = copy.deepcopy(target_params)
diff_dict = directory_diff( diff_dict = directory_diff(
dict1[key], dict2[key], dict1[key], dict2[key],
ignore_keys=view_object.keys_to_ignore, difference={} ignore_keys=ignore_keys, difference={}
) )
# No need to parse acl if ignore_grants is set to True. # No need to parse acl if ignore_grants is set to True.