db: Fixes #2935 GC MySQL error (#3115)

This fixes the variable name to adhere to the DB framework convention
as defined by the method interceptor that creates attributes:

https://github.com/apache/cloudstack/blob/master/framework/db/src/main/java/com/cloud/utils/db/SearchBase.java#L480

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2019-01-13 11:16:57 +05:30 committed by GitHub
parent c12cadb284
commit 8849382f77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ public class NetworkOfferingVO implements NetworkOffering {
boolean inline;
@Column(name = "is_persistent")
boolean isPersistent;
boolean persistent;
@Column(name = "for_vpc")
boolean forVpc;
@ -348,7 +348,7 @@ public class NetworkOfferingVO implements NetworkOffering {
this.elasticLb = false;
this.inline = false;
this.specifyIpRanges = specifyIpRanges;
this.isPersistent = isPersistent;
this.persistent = isPersistent;
this.publicLb = publicLb;
this.internalLb = internalLb;
this.forVpc = isForVpc;
@ -481,12 +481,12 @@ public class NetworkOfferingVO implements NetworkOffering {
}
public void setIsPersistent(Boolean isPersistent) {
this.isPersistent = isPersistent;
this.persistent = isPersistent;
}
@Override
public boolean isPersistent() {
return isPersistent;
return persistent;
}
@Override