mirror of https://github.com/apache/nifi.git
NIFI-664:
- Addressing incorrect argument to setTimeout call.
This commit is contained in:
parent
ecb3680a77
commit
5fb5fa6da2
|
@ -656,7 +656,7 @@ nf.ControllerService = (function () {
|
||||||
deferred.resolve();
|
deferred.resolve();
|
||||||
} else {
|
} else {
|
||||||
if (typeof pollCondition === 'function' && pollCondition()) {
|
if (typeof pollCondition === 'function' && pollCondition()) {
|
||||||
setTimeout(poll(), getTimeout());
|
setTimeout(poll, getTimeout());
|
||||||
} else {
|
} else {
|
||||||
deferred.reject();
|
deferred.reject();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue