Skip to content

Commit ebe2f57

Browse files
committed
Made the cicd_clones_create script retreive the volume from the project so the user didn't have to prvoide it; Created a new list_snapshots script so a user can easily get the snapshots; Updated list_cicd_project to list the volume_ID associated with the volume so it can be used with 'list_snapshots'.
1 parent ff19281 commit ebe2f57

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Management-Utilities/Workload-Factory-API-Samples/list_cicd_projects

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ fi
9696
if [ "$raw" = true ]; then
9797
jq_query='.'
9898
else
99-
jq_query='.items[] | "\(.projectName) \(.projectId) \(.fileSystemId) \(.volumeName) \(.numberOfClones)"'
99+
jq_query='.items[] | "\(.projectName) \(.projectId) \(.fileSystemId) \(.volumeName) \(.volumeId) \(.numberOfClones)"'
100100
fi
101101

102102
URL="https://api.workloads.netapp.com/accounts/${BLUEXP_ACCOUNT_ID}/builders/v1/projects"
@@ -125,5 +125,5 @@ done
125125
if [ "$raw" = true ]; then
126126
cat $tmpout2
127127
else
128-
sort -f $tmpout2 | column -t -N "Name,Project ID,File System,Volume Name,Number of Clones"
128+
sort -f $tmpout2 | column -t -N "Name,Project ID,File System,Volume Name,Volume ID,Number of Clones"
129129
fi

0 commit comments

Comments
 (0)