Skip to content

Commit

Permalink
fixup! Fixes #15095: Missing log on hooks for generation
Browse files Browse the repository at this point in the history
Fixes #15095: Missing log on hooks for generation
  • Loading branch information
fanf committed Jun 15, 2019
1 parent da164bc commit 7d6a150
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ class PolicyWriterServiceImpl(
}

movedPromisesTime1 = System.currentTimeMillis
_ = policyLogger.debug(s"Hooks for policy-generation-node-ready exectuted in ${movedPromisesTime1-licensesCopiedTime} ms")
_ = policyLogger.debug(s"Hooks for policy-generation-node-ready executed in ${movedPromisesTime1-licensesCopiedTime} ms")

movedPromises <- tryo { movePromisesToFinalPosition(pathsInfo) }

Expand Down Expand Up @@ -392,7 +392,7 @@ class PolicyWriterServiceImpl(
res
}
postMvHooksTime2 = System.currentTimeMillis
_ = policyLogger.debug(s"Hooks for policy-generation-node-ready exectuted in ${postMvHooksTime2 - movedPromisesTime2} ms")
_ = policyLogger.debug(s"Hooks for policy-generation-node-ready executed in ${postMvHooksTime2 - movedPromisesTime2} ms")
} yield {
val ids = movedPromises.map { _.nodeId }.toSet
allNodeConfigs.filterKeys { id => ids.contains(id) }.values.toSeq
Expand Down

0 comments on commit 7d6a150

Please sign in to comment.