Skip to content

Commit a8655b3

Browse files
committed
remove unused code
1 parent 545ddbb commit a8655b3

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

engine/schema/src/main/resources/META-INF/db/schema-42210to42300.sql

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,3 @@ UPDATE `cloud`.`configuration`
120120
SET value = NULL
121121
WHERE name IN ('consoleproxy.url.domain', 'secstorage.ssl.cert.domain')
122122
AND value IN ('realhostip.com', '*.realhostip.com');
123-
124-
UPDATE `cloud`.`configuration`
125-
SET value = NULL
126-
WHERE name = 'secstorage.secure.copy.cert'
127-
AND value LIKE '%realhostip%';

server/src/main/java/com/cloud/server/ConfigurationServerImpl.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,6 @@ public void persistDefaultValues() throws InternalErrorException {
222222
_configDao.update(Config.SecStorageEncryptCopy.key(), Config.SecStorageEncryptCopy.getCategory(), "false");
223223
logger.debug("ConfigurationServer made secondary storage copy encrypt set to false.");
224224

225-
_configDao.update("secstorage.secure.copy.cert", "");
226-
logger.debug("ConfigurationServer cleared legacy secstorage.secure.copy.cert.");
227-
228225
_configDao.update("user.password.encoders.exclude", "MD5,LDAP,PLAINTEXT");
229226
logger.debug("Configuration server excluded insecure encoders");
230227

0 commit comments

Comments
 (0)