Skip to content

Commit

Permalink
Add get default auto refresh config back (#1553)
Browse files Browse the repository at this point in the history
* add note for skip matching

* fix auto refresh none error

* merge with master

* another fix

* get default auto refresh
  • Loading branch information
knguyen100000010 authored Mar 28, 2024
1 parent c9f3ca9 commit e70367f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deploy-board/deploy_board/webapp/cluster_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -1130,8 +1130,7 @@ def gen_auto_cluster_refresh_view(request, name, stage):
# get default configurations for first time
try:
if auto_refresh_config == None:
auto_refresh_config = {}
auto_refresh_config["config"] = {}
auto_refresh_config = clusters_helper.get_default_cluster_auto_refresh_config(request, cluster_name)
auto_refresh_config["launchBeforeTerminate"] = True
auto_refresh_config["config"]["minHealthyPercentage"] = 100
auto_refresh_config["config"]["maxHealthyPercentage"] = 110
Expand Down

0 comments on commit e70367f

Please sign in to comment.