[JENKINS-54731] Fix checkUpdateAttempts system property

Rename hudson.PluginManager.CHECK_UPDATE_ATTEMPTS system property to
hudson.PluginManager.checkUpdateAttempts
This commit is contained in:
M Ramon Leon authored and Ramon Leon committed 2018-11-20 18:12:37 +01:00
1 parent 389c5a7e60
commit b1e8c6565c
1 file changed
+1 -1
+1 -1
View File
@@ -194,7 +194,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
try {
// Secure initialization
CHECK_UPDATE_SLEEP_TIME_MILLIS = SystemProperties.getInteger(PluginManager.class.getName() + ".checkUpdateSleepTimeMillis", 1000);
CHECK_UPDATE_ATTEMPTS = SystemProperties.getInteger(PluginManager.class.getName() + ".CHECK_UPDATE_ATTEMPTS", 1);
CHECK_UPDATE_ATTEMPTS = SystemProperties.getInteger(PluginManager.class.getName() + ".checkUpdateAttempts", 1);
} catch(Exception e) {
LOGGER.warning(String.format("There was an error initializing the PluginManager. Exception: %s", e));
} finally {