FAQ | This is a LIVE service | Changelog

Commit cbea338a authored by Robin Goodall's avatar Robin Goodall 💬
Browse files

FIx licensing change percentage

parent 80e896c5
Pipeline #170306 passed with stages
in 3 minutes and 2 seconds
......@@ -322,7 +322,7 @@ class Comparator(ConfigurationStateConsumer):
if licensing and self.licensing_config.product_id is not None:
# Calculate percentage change in licence assignments.
licence_change_percentage = 100. * (
len(self.state.licences_to_add) + len(self.state.licences_to_remove)
len(self.state.licences_to_add | self.state.licences_to_remove)
/
max(1, len(self.state.google_licensed_uids))
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment