diff options
author | Anton Tananaev <atananaev@lyft.com> | 2020-12-30 10:36:50 -0800 |
---|---|---|
committer | Anton Tananaev <atananaev@lyft.com> | 2020-12-30 10:36:50 -0800 |
commit | 6101300ab45882e02e4a0b90d30070cb904378eb (patch) | |
tree | 577cb6467644eb138b110f9cb3cb0656ab1936b1 /src/main/java/org/traccar/MainEventHandler.java | |
parent | 31c4daf083e9f4b799d73d4a1ccb9158505aea70 (diff) | |
download | trackermap-server-6101300ab45882e02e4a0b90d30070cb904378eb.tar.gz trackermap-server-6101300ab45882e02e4a0b90d30070cb904378eb.tar.bz2 trackermap-server-6101300ab45882e02e4a0b90d30070cb904378eb.zip |
Migrate more config keys
Diffstat (limited to 'src/main/java/org/traccar/MainEventHandler.java')
-rw-r--r-- | src/main/java/org/traccar/MainEventHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/MainEventHandler.java b/src/main/java/org/traccar/MainEventHandler.java index df17dce0b..4889f6a2e 100644 --- a/src/main/java/org/traccar/MainEventHandler.java +++ b/src/main/java/org/traccar/MainEventHandler.java @@ -42,7 +42,7 @@ public class MainEventHandler extends ChannelInboundHandlerAdapter { private final Set<String> logAttributes = new LinkedHashSet<>(); public MainEventHandler() { - String connectionlessProtocolList = Context.getConfig().getString("status.ignoreOffline"); + String connectionlessProtocolList = Context.getConfig().getString(Keys.STATUS_IGNORE_OFFLINE); if (connectionlessProtocolList != null) { connectionlessProtocols.addAll(Arrays.asList(connectionlessProtocolList.split("[, ]"))); } |