forked from FoundKeyGang/FoundKey
fix warning message
This commit is contained in:
parent
508748ac0d
commit
29164740b9
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function getRedisFamily(family?: IpFamily | number): number {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof family !== 'undefined') {
|
if (typeof family !== 'undefined') {
|
||||||
logger.warn(`redis family "${family}" is invalid, defaulting to "both"`);
|
logger.warn(`redis family "${family}" is invalid, defaulting to "dual"`);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue