Skip to content

Commit

Permalink
Update sys_app_environment.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rocklinux9527 authored Jan 18, 2024
1 parent e7c33ad commit 0a87bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/sys_app_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def update_controller_app_environment(cls, ID: int, name: str, cluster_id: str,
@classmethod
def delete_controller_app_environment(cls, ID: int, name: str, user_request_data: Dict[str, Any]) -> Dict[str, Any]:
"""1.删除app 模板"""
result = cls.check_template_app_name(name)
result = AppEnvironmentService.check_environment_app_name(name)
if not result:
return {"code": 50000, "message": "Environment app delete failure", "status": True, "data": "failure"}

Expand Down

0 comments on commit 0a87bbd

Please sign in to comment.