fix(cgi-bin): ensure sizes in get_shared_storage's response are JSON numbers

main
Tsu-ba-me 4 years ago
parent 507588cfc3
commit 4f88b1f536
  1. 4
      cgi-bin/get_shared_storage

@ -89,7 +89,9 @@ ORDER BY
}});
push(@{$storage_groups}, {
name => $storage_group_name, total => $scan_lvm_vg_size, free => $scan_lvm_vg_free
name => $storage_group_name,
total => int($scan_lvm_vg_size),
free => int($scan_lvm_vg_free)
});
}

Loading…
Cancel
Save