Skip to content

Commit 918e86a

Browse files
authored
Update recommendation flag to match flagd configuration (#1634)
Address #1626
1 parent 5caa07d commit 918e86a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ the release.
1313
([#1619](https://github.com/open-telemetry/opentelemetry-demo/pull/1619))
1414
* [frontend] fixed default flagd port for HTTPS connections
1515
([#1609](https://github.com/open-telemetry/opentelemetry-demo/pull/1609))
16+
* ([recommendation] updated flag name to match flagd configuration
17+
([#1634](https://github.com/open-telemetry/opentelemetry-demo/pull/1634))
1618

1719
## 1.10.0
1820

src/recommendationservice/recommendation_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_product_list(request_product_ids):
7575
request_product_ids = request_product_ids_str.split(',')
7676

7777
# Feature flag scenario - Cache Leak
78-
if check_feature_flag("recommendationCache"):
78+
if check_feature_flag("recommendationServiceCacheFailure"):
7979
span.set_attribute("app.recommendation.cache_enabled", True)
8080
if random.random() < 0.5 or first_run:
8181
first_run = False

0 commit comments

Comments
 (0)