mirror of https://github.com/apache/nifi.git
NIFI-1098 - Ensuring we pull the correct attribute from the servlet context. Reviewed by Tony Kurc (tkurc@apache.org)
This commit is contained in:
parent
fedbe40313
commit
201eac052b
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue