Skip to content

Commit 75d9600

Browse files
Merge branch 'davidstack-master'
2 parents 19d62f7 + bbe71ce commit 75d9600

File tree

1 file changed

+3
-3
lines changed
  • cloudfoundry-client-lib/src/main/java/org/cloudfoundry/client/lib/domain

1 file changed

+3
-3
lines changed

cloudfoundry-client-lib/src/main/java/org/cloudfoundry/client/lib/domain/InstanceStats.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ public static class Usage {
3131

3232
private double cpu;
3333
private int disk;
34-
private double mem;
34+
private int mem;
3535
private Date time;
3636

3737
public Usage(Map<String, Object> attributes) {
3838
this.time = parseDate(parse(String.class, attributes.get("time")));
3939
this.cpu = parse(Double.class, attributes.get("cpu"));
4040
this.disk = parse(Integer.class, attributes.get("disk"));
41-
this.mem = parse(Double.class, attributes.get("mem"));
41+
this.mem = parse(Integer.class, attributes.get("mem"));
4242
}
4343

4444
public double getCpu() {
@@ -49,7 +49,7 @@ public int getDisk() {
4949
return disk;
5050
}
5151

52-
public double getMem() {
52+
public int getMem() {
5353
return mem;
5454
}
5555

0 commit comments

Comments
 (0)