sureshanaparti commented on code in PR #12875:
URL: https://github.com/apache/cloudstack/pull/12875#discussion_r2979438358


##########
engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade42020to42030.java:
##########
@@ -55,7 +55,7 @@ public void performDataMigration(Connection conn) {
 
     @Override
     public InputStream[] getCleanupScripts() {
-        return null;
+        return new InputStream[0];

Review Comment:
   no issue with null here, both prepare and cleanup scripts are checked for 
null before execution.
   
   
https://github.com/apache/cloudstack/blob/c19630f0a4f34a82a9414b9b6d16b5ec44b86860/engine/schema/src/main/java/com/cloud/upgrade/DatabaseUpgradeChecker.java#L405-L411



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to