Pure-Storage-Ansible / FlashArray-Collection

Ansible Collection for Pure Storage FlashArray
GNU General Public License v3.0
19 stars 24 forks source link

Fix keep_for parameter #641

Closed sdodsley closed 2 months ago

sdodsley commented 2 months ago
SUMMARY

When no keep_for is specified, the value defaulted to 0, however this should have been None. Also fix issues with recovery of snapshots and correct application of keep_for Add time_remaining for non-deleted directory snapshots in info module.

ISSUE TYPE
COMPONENT NAME

purefa_dirsnap.py purefa_info.py

skeerthivasan commented 2 months ago

@sdodsley , Pulled changes & tested, should set keep_for to None on line 348 as well. Post this change, all tests did well.