mirror of https://github.com/apache/nifi.git
NIFI-1738 hot patch to fix reflection mistake that was made while modifying @jvwing test
This commit is contained in:
parent
5e55a543eb
commit
5b2490f1e8
|
@ -39,7 +39,7 @@ public class TestControllerStatusReportingTask {
|
|||
}
|
||||
|
||||
private static Logger getLogger(String fieldName) throws Exception {
|
||||
Field f = ControllerStatusReportingTask.class.getField(fieldName);
|
||||
Field f = ControllerStatusReportingTask.class.getDeclaredField(fieldName);
|
||||
f.setAccessible(true);
|
||||
return (Logger) f.get(null);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue