summaryrefslogtreecommitdiffstats
path: root/nova-model/src/main/java
diff options
context:
space:
mode:
authorSteve Smokowski <ss835w@att.com>2020-04-08 16:19:28 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-08 16:19:28 +0000
commitd379bffefe7acf79d4aff05967cb754e61619eac (patch)
tree7930b4ec797eb6334fb0f64b29d5aca18a22eabf /nova-model/src/main/java
parent6bb115f3212190d798691261530ec1d95e5d4a8e (diff)
parent441ba467f510a6c58f2012f96305dbeef0eb535b (diff)
Merge "power level should not be a string"
Diffstat (limited to 'nova-model/src/main/java')
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/Server.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/Server.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/Server.java
index 90b2fe2..672a630 100644
--- a/nova-model/src/main/java/com/woorea/openstack/nova/model/Server.java
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/Server.java
@@ -204,7 +204,7 @@ public class Server implements Serializable {
private String taskState;
@JsonProperty("OS-EXT-STS:power_state")
- private String powerState;
+ private int powerState;
@JsonProperty("OS-EXT-STS:vm_state")
private String vmState;
@@ -407,7 +407,7 @@ public class Server implements Serializable {
/**
* @return the powerState
*/
- public String getPowerState() {
+ public int getPowerState() {
return powerState;
}