Skip to content

Commit 317023e

Browse files
committed
fix: add -> append for list
1 parent b0f7cd0 commit 317023e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

technology_specific_extractors/feign_client/fgn_entry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ def set_information_flows(dfd) -> dict:
4444
if prop[0] == "feign_ribbon_disabled":
4545
load_balancer = "Spring Cloud Load Balancer" # Load balancer if Ribbon is explicitely disabled (also, recently recommended)
4646
elif prop[0] == "circuit_breaker":
47-
stereotype_instances.add("circuit_breaker_link")
47+
stereotype_instances.append("circuit_breaker_link")
4848
tagged_values.add(("Circuit Breaker", prop[1]))
4949
elif prop[0] == "feign_hystrix":
50-
stereotype_instances.add("circuit_breaker_link")
50+
stereotype_instances.append("circuit_breaker_link")
5151
tagged_values.add(("Circuit Breaker", "Hystrix"))
5252

5353
tagged_values.add(("Load Balancer", load_balancer))

0 commit comments

Comments
 (0)