[ server ] [ executor ] - optimize code -2

This commit is contained in:
zeaslity
2022-12-27 16:03:20 +08:00
parent 37752ca07c
commit 0c38361a3b
2 changed files with 6 additions and 5 deletions

View File

@@ -2,11 +2,11 @@ spring:
application: application:
name: octopus-agent name: octopus-agent
profiles: profiles:
active: local active: k3s
cloud: cloud:
nacos: nacos:
config: config:
group: local group: k3s
config-retry-time: 3000 config-retry-time: 3000
file-extension: yaml file-extension: yaml
max-retry: 3 max-retry: 3
@@ -16,7 +16,7 @@ spring:
timeout: 5000 timeout: 5000
config-long-poll-timeout: 5000 config-long-poll-timeout: 5000
extension-configs: extension-configs:
- group: local - group: k3s
data-id: common-local.yaml data-id: common-k3s.yaml

View File

@@ -200,7 +200,8 @@ DownloadAllFile() {
colorEcho $BLUE "start to download octopus agent !" colorEcho $BLUE "start to download octopus agent !"
# check for latest version # check for latest version
# download the lasted jar # download the lasted jar
. ./lib/wdd-lib-os.sh . ./lib/wdd-lib-os.s
h
CheckAndDownloadLatestVersion CheckAndDownloadLatestVersion
FunctionSuccess FunctionSuccess