You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/10/14 16:36:49 UTC

[GitHub] [cloudstack] BryanMLima commented on a diff in pull request #6812: Normalize encryption on global configurations values

BryanMLima commented on code in PR #6812:
URL: https://github.com/apache/cloudstack/pull/6812#discussion_r995943320


##########
engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade41710to41800.java:
##########
@@ -124,10 +124,10 @@ protected Map<Long, String> selectValuesWithCustomConfigs(Connection conn, Strin
         }
     }
 
-    protected void executeUpdateOnConfigValues(Connection conn, Map<Long, String> valuesMapToBeUpdated, String table) {
+    protected void updateConfigValuesWithScope(Connection conn, Map<Long, String> configsToBeUpdated, String table) {
         String updateConfigValues = String.format("UPDATE cloud.%s SET value = ? WHERE id = ?;", table);
 
-        for (Map.Entry<Long, String> map : valuesMapToBeUpdated.entrySet()) {
+        for (Map.Entry<Long, String> config : valuesMapToBeUpdated.entrySet()) {

Review Comment:
   @DaanHoogland I already made these changes in the latest commit, after applying the suggestions.



-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org