Skip to content

Commit 6ebddb1

Browse files
committed
Make 'pub' config option optional
Excluding this from the config resulted in errors
1 parent 4e363ae commit 6ebddb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

poly_lithic/src/config/config_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def graph(self):
4747
edges = []
4848
# to collect edges we need to go through each item , look at what its publishing and find matching subsribers, this will form an edge
4949
for key, value in self.modules.items():
50-
if value.pub is not None or value.pub.lower() != 'none':
50+
if value.pub is not None or str(value.pub).lower() != 'none':
5151
if isinstance(value.pub, str):
5252
value.pub = [value.pub]
5353
for key2, value2 in self.modules.items():

0 commit comments

Comments
 (0)