DMC-979: Do not overwrite totalsize

parent 4fcded52
......@@ -74,7 +74,7 @@ size_t gfal2_space_generate_json(struct space_report *report, char *buffer, size
}
if (report->lifetime_assigned) {
json_object_object_add(root, "totalsize", json_object_new_int(*report->lifetime_assigned));
json_object_object_add(root, "lifetimeassigned", json_object_new_int(*report->lifetime_assigned));
}
if (report->lifetime_left) {
json_object_object_add(root, "lifetimeleft", json_object_new_int(*report->lifetime_left));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment