From 8849382f772b6ced7d3b97533dd6f4c9ff352e50 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Sun, 13 Jan 2019 11:16:57 +0530 Subject: [PATCH] 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 --- .../main/java/com/cloud/offerings/NetworkOfferingVO.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/schema/src/main/java/com/cloud/offerings/NetworkOfferingVO.java b/engine/schema/src/main/java/com/cloud/offerings/NetworkOfferingVO.java index 8c501be04cf..338ef57513b 100644 --- a/engine/schema/src/main/java/com/cloud/offerings/NetworkOfferingVO.java +++ b/engine/schema/src/main/java/com/cloud/offerings/NetworkOfferingVO.java @@ -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