Skip to content

Commit

Permalink
fix: default arch export helm chart failure
Browse files Browse the repository at this point in the history
Signed-off-by: 张启航 <[email protected]>
  • Loading branch information
ZhangSetSail committed Jul 29, 2024
1 parent efd0de0 commit 5db3a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/services/market_app_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def install_app(self,
chaos_arch = list(set(body.get("list")))
template_arch = app_template.get("arch", "amd64")
template_arch = template_arch if template_arch else "amd64"
if template_arch not in chaos_arch and len(chaos_arch) < 2:
if template_arch not in chaos_arch and len(chaos_arch) < 2 and not dry_run:
raise AbortRequest("app arch does not match build node arch", "应用架构与构建节点架构不匹配", status_code=404, error_code=404)
if not app_template.get("goavernance_mode"):
app_template["governance_mode"] = GovernanceModeEnum.KUBERNETES_NATIVE_SERVICE.name
Expand Down

0 comments on commit 5db3a28

Please sign in to comment.