Skip to content

Commit

Permalink
Convert memory and disk on the ProcessUsage object to Long
Browse files Browse the repository at this point in the history
This is a follow up to PR #1085 and was pointed out in PR #1064.
  • Loading branch information
Daniel Mikusa committed Jun 3, 2021
1 parent a5be31a commit b15a829
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,8 @@ public void getProcessStatistics() {
.usage(ProcessUsage.builder()
.time("2016-03-23T23:17:30.476314154Z")
.cpu(0.00038711029163348665)
.memory(19177472)
.disk(69705728)
.memory(19177472L)
.disk(69705728L)
.build())
.host("10.244.16.10")
.instancePort(PortMapping.builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ public void getProcessStatistics() {
.usage(ProcessUsage.builder()
.time("2016-03-23T23:17:30.476314154Z")
.cpu(0.00038711029163348665)
.memory(19177472)
.disk(69705728)
.memory(19177472L)
.disk(69705728L)
.build())
.host("10.244.16.10")
.instancePort(PortMapping.builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ abstract class _ProcessUsage {
* The disk
*/
@JsonProperty("disk")
abstract Integer getDisk();
abstract Long getDisk();

/**
* The memory
*/
@JsonProperty("mem")
abstract Integer getMemory();
abstract Long getMemory();

/**
* The time
Expand Down

0 comments on commit b15a829

Please sign in to comment.