Skip to content

Commit 93ee4c4

Browse files
llucaxCopilot
andauthored
Update src/frequenz/client/microgrid/_client.py for bounds
Co-authored-by: Copilot <[email protected]> Signed-off-by: Leandro Lucarella <[email protected]>
1 parent f3801d9 commit 93ee4c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/frequenz/client/microgrid/_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,10 @@ async def add_component_bounds( # noqa: DOC502 (Raises ApiClientError indirectl
392392
target_metric=_get_metric_value(target),
393393
bounds=(
394394
bounds_pb2.Bounds(
395-
lower=bounds.lower,
396-
upper=bounds.upper,
395+
lower=b.lower,
396+
upper=b.upper,
397397
)
398-
for bounds in bounds
398+
for b in bounds
399399
),
400400
**extra_args,
401401
),

0 commit comments

Comments
 (0)