mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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:
parent
c12cadb284
commit
8849382f77
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user