Skip to content

Commit 4b51b7c

Browse files
committed
fix: get rid of red error marker in get_components_from_service
1 parent de8296e commit 4b51b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tdp/core/collections.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,5 +229,5 @@ def get_components_from_service(
229229
ServiceComponentName(service_name, operation.component_name)
230230
for operation in self.operations.values()
231231
if operation.service_name == service_name
232-
and not operation.is_service_operation()
232+
and operation.component_name is not None
233233
}

0 commit comments

Comments
 (0)