File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cloudfoundry-client-lib/src/main/java/org/cloudfoundry/client/lib/domain Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ public static class Usage {
31
31
32
32
private double cpu ;
33
33
private int disk ;
34
- private double mem ;
34
+ private int mem ;
35
35
private Date time ;
36
36
37
37
public Usage (Map <String , Object > attributes ) {
38
38
this .time = parseDate (parse (String .class , attributes .get ("time" )));
39
39
this .cpu = parse (Double .class , attributes .get ("cpu" ));
40
40
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" ));
42
42
}
43
43
44
44
public double getCpu () {
@@ -49,7 +49,7 @@ public int getDisk() {
49
49
return disk ;
50
50
}
51
51
52
- public double getMem () {
52
+ public int getMem () {
53
53
return mem ;
54
54
}
55
55
You can’t perform that action at this time.
0 commit comments