diff options
author | Steve Smokowski <ss835w@att.com> | 2020-04-08 16:19:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-04-08 16:19:28 +0000 |
commit | d379bffefe7acf79d4aff05967cb754e61619eac (patch) | |
tree | 7930b4ec797eb6334fb0f64b29d5aca18a22eabf /nova-model/src/main | |
parent | 6bb115f3212190d798691261530ec1d95e5d4a8e (diff) | |
parent | 441ba467f510a6c58f2012f96305dbeef0eb535b (diff) |
Merge "power level should not be a string"
Diffstat (limited to 'nova-model/src/main')
-rw-r--r-- | nova-model/src/main/java/com/woorea/openstack/nova/model/Server.java | 4 |
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; } |