Skip to content

Commit a8fb737

Browse files
adedamola-sodeOCopping
authored andcommitted
Removed false messaging from component prefix not being found using wildcards
1 parent 70f1bef commit a8fb737

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/techui_builder/builder.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,8 @@ def generate_screens(self):
141141
)
142142
for prefix in filtered_prefixes:
143143
screen_entities.extend(self.entities[prefix])
144-
else:
145-
LOGGER.warning(
146-
f"{self.techui.name}: [bold]{component.prefix}[/bold] set in \
147-
[bold]{component.name}[/bold] does not match any P field in the ioc.yaml \
148-
files in services"
149-
)
150144
# If the component prefix is in entities.keys, add to screen entities
151-
if component.prefix in self.entities.keys():
145+
elif component.prefix in self.entities.keys():
152146
screen_entities.extend(self.entities[component.prefix])
153147
else:
154148
LOGGER.warning(

0 commit comments

Comments
 (0)