Skip to content

Commit

Permalink
Fixes #24029: license plugin checks are not building since node facts…
Browse files Browse the repository at this point in the history
… changes
  • Loading branch information
VinceMacBuche committed Jan 16, 2024
1 parent 643ac68 commit 50fec3c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ package com.normation.plugins.scaleoutrelay

import com.normation.plugins.LicensedPluginCheck
import com.normation.rudder.services.nodes.NodeInfoService

import com.normation.zio._
/*
* This template file will processed at build time to choose
* the correct immplementation to use for the interface.
Expand All @@ -54,5 +54,5 @@ final class CheckRudderPluginEnableImpl(nodeInfoService: NodeInfoService) extend
def pluginDeclaredVersion = "${plugin-declared-version}"
def pluginId = "${plugin-fullname}"

override def getNumberOfNodes: Int = nodeInfoService.getNumberOfManagedNodes
override def getNumberOfNodes: Int = nodeInfoService.getNumberOfManagedNodes.runNow
}

0 comments on commit 50fec3c

Please sign in to comment.