NIFI-1098 - Ensuring we pull the correct attribute from the servlet context. Reviewed by Tony Kurc (tkurc@apache.org)

This commit is contained in:
Matt Gilman 2015-11-04 12:11:19 -05:00 committed by Tony Kurc
parent fedbe40313
commit 201eac052b
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ public class RuleResource {
@QueryParam("q") final String term) { @QueryParam("q") final String term) {
// get the web context // get the web context
final NiFiWebConfigurationContext configurationContext = (NiFiWebConfigurationContext) servletContext.getAttribute("nifi-web-context"); final NiFiWebConfigurationContext configurationContext = (NiFiWebConfigurationContext) servletContext.getAttribute("nifi-web-configuration-context");
// build the web context config // build the web context config
final NiFiWebRequestContext requestContext = getRequestContext(processorId); final NiFiWebRequestContext requestContext = getRequestContext(processorId);