Closed brk3 closed 2 years ago
The checks for missing storage account ids would never fire as 'null' is not a valid type in bash.
This resulted in an empty value for 'ids' being returned causing subsequent errors in the 'az' command (and possibly elsewhere).
Update these to the standard bash '-z' check. Also remove the check for null in functions.sh as this case is covered within get_storage_id.
Fixes aztfmod/rover/issues/207
hi @brk3 thanks for your contribution to Cloud Adoption Framework for Azure! Moving to integration for October release.
The checks for missing storage account ids would never fire as 'null' is not a valid type in bash.
This resulted in an empty value for 'ids' being returned causing subsequent errors in the 'az' command (and possibly elsewhere).
Update these to the standard bash '-z' check. Also remove the check for null in functions.sh as this case is covered within get_storage_id.
Fixes aztfmod/rover/issues/207