Commit 0359bac
committed
Fix bug in
A function's existence was being checked rather than its (boolean)
result.
This wasn't an issue in practice, because ever since we've had the
PowerManager, the PowerDistributor has not received requests when
there's no data.
Signed-off-by: Sahas Subramanian <[email protected]>_battery_manager.py
1 parent 695bb91 commit 0359bac
File tree
1 file changed
+2
-2
lines changed- src/frequenz/sdk/actor/power_distributing/_component_managers
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
| 449 | + | |
450 | 450 | | |
451 | | - | |
| 451 | + | |
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| |||
0 commit comments