We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ListConnections
1 parent c980ef5 commit 78d4253Copy full SHA for 78d4253
src/frequenz/client/microgrid/component/_connection_proto.py
@@ -24,6 +24,11 @@ def component_connection_from_proto(
24
25
source_component_id = ComponentId(message.source_component_id)
26
destination_component_id = ComponentId(message.destination_component_id)
27
+ if source_component_id == destination_component_id:
28
+ major_issues.append(
29
+ f"source and destination are the same: {source_component_id}",
30
+ )
31
+
32
lifetime = _get_operational_lifetime_from_proto(
33
message, major_issues=major_issues, minor_issues=minor_issues
34
)
0 commit comments