APIClient: Snapshot disk size should be long
When parsing the snapshot disk sizes, it should be long and not int.
See scylladb/scylla#2104
Signed-off-by: Amnon Heiman <amnon@scylladb.com>
Message-Id: <1487760019-1354-1-git-send-email-amnon@scylladb.com>
(cherry picked from commit 9c11768b9d
)
This commit is contained in:
parent
d0401e7b1c
commit
8487889c24
@ -471,7 +471,7 @@ public class APIClient {
|
||||
JsonObject obj = arr.getJsonObject(i);
|
||||
if (obj.containsKey("ks") && obj.containsKey("cf")) {
|
||||
SnapshotDetailsTabularData.from(key, obj.getString("ks"),
|
||||
obj.getString("cf"), obj.getInt("total"),
|
||||
obj.getString("cf"), obj.getJsonNumber("total").longValue(),
|
||||
obj.getInt("live"), data);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user