NIFI-1876 fixing counter URI pattern

This commit is contained in:
jpercivall 2016-08-12 17:22:00 -04:00
parent bbdd087d77
commit 6799bd4919
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public class NodeClusterCoordinator implements ClusterCoordinator, ProtocolHandl
private static final Logger logger = LoggerFactory.getLogger(NodeClusterCoordinator.class); private static final Logger logger = LoggerFactory.getLogger(NodeClusterCoordinator.class);
private static final String EVENT_CATEGORY = "Clustering"; private static final String EVENT_CATEGORY = "Clustering";
private static final Pattern COUNTER_URI_PATTERN = Pattern.compile("/nifi-api/controller/counters/[a-f0-9\\-]{36}"); private static final Pattern COUNTER_URI_PATTERN = Pattern.compile("/nifi-api/counters/[a-f0-9\\-]{36}");
private final String instanceId = UUID.randomUUID().toString(); private final String instanceId = UUID.randomUUID().toString();
private volatile NodeIdentifier nodeId; private volatile NodeIdentifier nodeId;