If statements need elses.
This commit is contained in:
parent
603f56c743
commit
cc2bfffe07
1 changed files with 2 additions and 1 deletions
|
|
@ -250,8 +250,9 @@ function updatePoolStats(poolType) {
|
|||
let cache;
|
||||
if (typeof(poolType) !== 'undefined') {
|
||||
cache = global.database.getCache(poolType + "_stats");
|
||||
} else {
|
||||
cache = global.database.getCache("global_stats");
|
||||
}
|
||||
cache = global.database.getCache("global_stats");
|
||||
async.series([
|
||||
function (callback) {
|
||||
debug(threadName + "Checking Influx for last 10min avg for pool stats");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue