Skip to content

Commit 2d53698

Browse files
release-v-1-15-0 (#72)
* OS version - version overview shows some low versions for some services * ref --------- Co-authored-by: anmarhindi <anmar.hindi@kern.ai>
1 parent 8696ac0 commit 2d53698

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

upgrade_logic/business_objects/gateway.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ def gateway_1_14_0_add_cognition_strategy_complexity() -> bool:
5656
)
5757
return False
5858

59+
is_managed = get_config_value("is_managed")
60+
if not is_managed:
61+
print("Not managed. Skipping cognition strategy complexity update.")
62+
return False
63+
5964
response = requests.post(
6065
f"{cognition_url}/api/v1/strategies/internal/calculate_missing_complexities"
6166
)

0 commit comments

Comments
 (0)