Pure-Storage-Ansible / FlashArray-Collection

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

Fix snapshot suffix handling #412

Closed genegr closed 1 year ago

genegr commented 1 year ago
SUMMARY

Update purefa_pgsnap for better handling snapshot suffix. Fixed the logic for retrieving the latest completed snapshots.

ISSUE TYPE
COMPONENT NAME

purefa_pgsnap

ADDITIONAL INFORMATION

Unmanaged snapshots are created with a progressive numerical suffix, therefore in order to restore those it is now possible with this updare specifying a numeric value for the suffix parameter. Furthemore the test condition in the loop that retrieves the latest completed snapshot was not working and is now fixed according to the proper logic.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.