Skip to content

Commit caebd0c

Browse files
committed
remove unused code
1 parent fab14c5 commit caebd0c

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

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
@@ -155,8 +155,3 @@ UPDATE `cloud`.`configuration`
155155
SET value = NULL
156156
WHERE name IN ('consoleproxy.url.domain', 'secstorage.ssl.cert.domain')
157157
AND value IN ('realhostip.com', '*.realhostip.com');
158-
159-
UPDATE `cloud`.`configuration`
160-
SET value = NULL
161-
WHERE name = 'secstorage.secure.copy.cert'
162-
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)