Skip to content
Snippets Groups Projects

feat: Add new data volume for XDMod queue data

Closed Krish Moodbidri requested to merge feat-test-xdmod-queue-vol into master
Compare changes
  • Side-by-side
  • Inline
Files
1
  • The original code assumed only one volume is attached to the specified OpenStack instance. This commit modifies the script to correctly handle scenarios where multiple volumes are attached. The updated code uses an array to store all attached volumes, iterates over the array, and performs actions for each volume. This enhances the script's flexibility and ensures accurate detachment messages for all attached volumes.
    
    Changes:
    - Modified the extraction of the instance ID to handle potential changes in the output structure.
    - Implemented an array to store all attached volumes.
    - Added a loop to iterate over the array and print detachment messages for each volume.
Loading