We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b13d72 commit 394cae3Copy full SHA for 394cae3
tools/azure_uploader.sh
@@ -488,8 +488,7 @@ main() {
488
# convert input image to fixed VHD blob with size rounded to 1 MB
489
local -r blob_size="$(get_rounded_size "${INPUT_IMAGE}")"
490
# Get actual image size in bytes
491
- local actual_size
492
- actual_size=$(qemu-img info -f raw --output json "${INPUT_IMAGE}" | jq '.["virtual-size"]')
+ local -r actual_size="$(qemu-img info -f raw --output json "${INPUT_IMAGE}" | jq '.["virtual-size"]')"
493
494
# Only resize if needed
495
if [ "$actual_size" -ne "$blob_size" ]; then
0 commit comments