trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [incubator-trafficcontrol] 08/36: Make param 'deepcoveragezone.polling.url' optional
Date Wed, 24 Jan 2018 17:23:17 GMT
This is an automated email from the ASF dual-hosted git repository.

elsloo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git

commit ef134c5c6376e50b98733000a91ea5b560b99587
Author: Rawlin Peters <rawlin_peters@comcast.com>
AuthorDate: Mon Oct 23 17:17:27 2017 -0600

    Make param 'deepcoveragezone.polling.url' optional
---
 .../cdn/traffic_control/traffic_router/core/config/ConfigHandler.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/config/ConfigHandler.java
b/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/config/ConfigHandler.java
index e6bd2df..53f3188 100644
--- a/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/config/ConfigHandler.java
+++ b/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/config/ConfigHandler.java
@@ -553,8 +553,8 @@ public class ConfigHandler {
 
 	private void parseDeepCoverageZoneNetworkConfig(final JsonNode config) throws JsonUtilsException
{
 		getDeepNetworkUpdater().setDataBaseURL(
-				JsonUtils.getString(config, "deepcoveragezone.polling.url"),
-				JsonUtils.optLong(config, "deepcoveragezone.polling.interval")
+			JsonUtils.optString(config, "deepcoveragezone.polling.url", null),
+			JsonUtils.optLong(config, "deepcoveragezone.polling.interval")
 		);
 	}
 

-- 
To stop receiving notification emails like this one, please contact
elsloo@apache.org.

Mime
View raw message