Skip to content

Commit 8f53503

Browse files
committed
fixup! Implement GetMicrogridMetadata
Fix double call to `enum_from_proto`.
1 parent bcea558 commit 8f53503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frequenz/client/microgrid/_microgrid_info_proto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ def microgrid_info_from_proto(
7676
name=message.name or None,
7777
delivery_area=delivery_area,
7878
location=location,
79-
status=enum_from_proto(message.status, MicrogridStatus),
79+
status=status,
8080
create_timestamp=conversion.to_datetime(message.create_timestamp),
8181
)

0 commit comments

Comments
 (0)