This is an automated email from the ASF dual-hosted git repository.

dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new 2aa3f980e8f Fix schema path for 419 upgrade path (#7346)
2aa3f980e8f is described below

commit 2aa3f980e8f00c68a8159d1e714838faa5ba785a
Author: David Jumani <[email protected]>
AuthorDate: Thu Mar 16 16:28:17 2023 +0530

    Fix schema path for 419 upgrade path (#7346)
---
 .../src/main/java/com/cloud/upgrade/dao/Upgrade41810to41900.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade41810to41900.java 
b/engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade41810to41900.java
index b7c4d6fb9f3..c9ac468dc53 100644
--- a/engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade41810to41900.java
+++ b/engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade41810to41900.java
@@ -44,7 +44,7 @@ public class Upgrade41810to41900 implements DbUpgrade, 
DbUpgradeSystemVmTemplate
 
     @Override
     public InputStream[] getPrepareScripts() {
-        final String scriptFile = "META-INF/db/schema-41800to41810.sql";
+        final String scriptFile = "META-INF/db/schema-41810to41900.sql";
         final InputStream script = 
Thread.currentThread().getContextClassLoader().getResourceAsStream(scriptFile);
         if (script == null) {
             throw new CloudRuntimeException("Unable to find " + scriptFile);
@@ -59,7 +59,7 @@ public class Upgrade41810to41900 implements DbUpgrade, 
DbUpgradeSystemVmTemplate
 
     @Override
     public InputStream[] getCleanupScripts() {
-        final String scriptFile = 
"META-INF/db/schema-41800to41810-cleanup.sql";
+        final String scriptFile = 
"META-INF/db/schema-41810to41900-cleanup.sql";
         final InputStream script = 
Thread.currentThread().getContextClassLoader().getResourceAsStream(scriptFile);
         if (script == null) {
             throw new CloudRuntimeException("Unable to find " + scriptFile);

Reply via email to