Closed liyawang closed 5 years ago
Sometimes the metadata is not added successfully. We have to retry it.
while [[ -z "$mid" ]] do mid=$(curl -X POST -sk -H "user: maizecode" -H "$AGAVE_HDR" "$ARG" | jq '.data.metadata_id') done echo $mid
Duplicated with https://github.com/warelab/sciapps/issues/100
Sometimes the metadata is not added successfully. We have to retry it.
while [[ -z "$mid" ]] do mid=$(curl -X POST -sk -H "user: maizecode" -H "$AGAVE_HDR" "$ARG" | jq '.data.metadata_id') done echo $mid