summaryrefslogtreecommitdiffstats
path: root/nova-model/src/main/java
diff options
context:
space:
mode:
authorBenjamin, Max (mb388a) <mb388a@att.com>2020-04-03 16:38:20 -0400
committerBenjamin, Max (mb388a) <mb388a@att.com>2020-04-03 16:49:34 -0400
commit492a7c0434170d29c2b45d81e0c96fc940b754d0 (patch)
tree3d065d90483055cc133295bcc87d610b73ad0c2f /nova-model/src/main/java
parentd313b58558c9c6d30ea66132b16949b7f7063cc3 (diff)
version should not be a string
Issue-ID: SO-2786 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id4065c5138a93abf3ffcb4c744e784d6b683fe5e
Diffstat (limited to 'nova-model/src/main/java')
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/Server.java6
1 files changed, 3 insertions, 3 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 0226218..90b2fe2 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
@@ -35,7 +35,7 @@ public class Server implements Serializable {
@JsonProperty("OS-EXT-IPS-MAC:mac_addr")
private String macAddr;
- private String version;
+ private int version;
private String addr;
@@ -52,7 +52,7 @@ public class Server implements Serializable {
/**
* @return the version
*/
- public String getVersion() {
+ public int getVersion() {
return version;
}
@@ -74,7 +74,7 @@ public class Server implements Serializable {
/**
* @param version the version to set
*/
- public void setVersion(String version) {
+ public void setVersion(int version) {
this.version = version;
}