Commit 3302229
committed
Don't guess missing power bounds from adjacent components
While the API allows those values to be unset, in practice this won't
ever happen.
The backend will mark any components with missing power bounds as broken
and will not use them, so it makes no sense for us to guess those bounds
as the component won't be accepted by the backend anyway.
Signed-off-by: Mathias L. Baumann <[email protected]>1 parent f41b75e commit 3302229
File tree
2 files changed
+10
-37
lines changed- src/frequenz/sdk/actor/power_distributing
- tests/actor/power_distributing
2 files changed
+10
-37
lines changedLines changed: 9 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
576 | | - | |
| 576 | + | |
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
580 | | - | |
581 | | - | |
582 | 580 | | |
| 581 | + | |
| 582 | + | |
583 | 583 | | |
584 | | - | |
| 584 | + | |
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
588 | | - | |
589 | | - | |
590 | | - | |
| 588 | + | |
591 | 589 | | |
592 | 590 | | |
593 | 591 | | |
594 | 592 | | |
595 | 593 | | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
607 | 597 | | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
| 598 | + | |
625 | 599 | | |
626 | 600 | | |
627 | 601 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
370 | 369 | | |
371 | 370 | | |
372 | 371 | | |
373 | | - | |
| 372 | + | |
374 | 373 | | |
375 | 374 | | |
376 | 375 | | |
| |||
0 commit comments