File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Management-Utilities/fsx-ontap-aws-cli-scripts Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3131}
3232
3333# ###############################################################################
34- # This function waits for the volume to be deleted.
34+ # This function waits for the an s3 access point attached to a volume
35+ # to be deleted.
3536# ###############################################################################
3637waitForS3ApDelete () {
3738
@@ -47,7 +48,7 @@ waitForS3ApDelete () {
4748 if [ $? -eq 0 ]; then
4849 status=$( jq -r .S3AccessPointAttachments[0].Lifecycle $tmpout 2> /dev/null)
4950 if [ " $status " != " DELETING" -a " $status " != " PENDING" ]; then
50- printf " \nError, failed to delete volume S3 endpoint $s3ApName attached to volume ID '$volumeId '. Status = ${status} .\n" 1>&2
51+ printf " \nError, failed to delete volume S3 Access Point $s3ApName attached to volume ID '$volumeId '. Status = ${status} .\n" 1>&2
5152 reason=" $( jq -r ' .S3AccessPointAttachments[0].LifecycleTransitionReason.Message' $tmpout 2> /dev/null) "
5253 if [ ! -z " $reason " ]; then
5354 echo " Reason: $reason " 1>&2
You can’t perform that action at this time.
0 commit comments