Switch _.isNaN usage to native versions

Change-type: patch
This commit is contained in:
Pagan Gazzard
2023-10-13 15:18:05 +01:00
committed by Felipe Lalanne
parent c9f032e13a
commit d0cb54537f
2 changed files with 2 additions and 2 deletions

View File

@ -386,7 +386,7 @@ export class Service {
if (config.cpus != null) {
config.cpus = Math.round(Number(config.cpus) * 10 ** 9);
if (_.isNaN(config.cpus)) {
if (Number.isNaN(config.cpus)) {
log.warn(
`config.cpus value cannot be parsed. Ignoring.\n Value:${config.cpus}`,
);