Skip to content

Commit

Permalink
set energy to constant
Browse files Browse the repository at this point in the history
Signed-off-by: MohammedAbdi <[email protected]>
  • Loading branch information
mamy-CS committed Aug 1, 2024
1 parent c9c5d69 commit da5abb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/controller/labelgroup_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ func (r *LabelGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request)

// 3) Add the values of the remaining new containers to the total energy and update the list of active containers
for containerId, newValue := range metricValues {
totalEnergy += newValue
// totalEnergy += newValue
totalEnergy = 100
labelGroup.Status.ActiveContainerIds[containerId] = newValue
}

Expand Down

0 comments on commit da5abb0

Please sign in to comment.