Skip to content

Commit 3e3fc2e

Browse files
committed
[ci][fix] Sync dingo-mdsv2.gflags
1 parent 6ccd75d commit 3e3fc2e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deploy-scripts/deploy.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,18 @@ function deploy_server() {
6565

6666
if [ "${FLAGS_replace_conf}" == "0" ]; then
6767
# conf file
68-
dist_conf="${dstpath}/conf/${role}.toml"
69-
cp $srcpath/conf/dingo-${role}.template.toml $dist_conf
68+
dist_conf="${dstpath}/conf/${server_name}.toml"
69+
cp $srcpath/conf/${server_name}.template.toml $dist_conf
7070

7171
sed -i 's,\$INSTANCE_ID\$,'"$instance_id"',g' $dist_conf
7272
sed -i 's,\$SERVER_HOST\$,'"$SERVER_HOST"',g' $dist_conf
7373
sed -i 's,\$SERVER_PORT\$,'"$server_port"',g' $dist_conf
7474
sed -i 's,\$BASE_PATH\$,'"$dstpath"',g' $dist_conf
7575

7676
# gflags file
77-
if [ -f $srcpath/conf/${role}.gflags ]
77+
if [ -f $srcpath/conf/${server_name}.gflags ]
7878
then
79-
cp $srcpath/conf/${role}.gflags $dstpath/conf/gflags
79+
cp $srcpath/conf/${server_name}.gflags $dstpath/conf/
8080
fi
8181

8282
# coor_list file

0 commit comments

Comments
 (0)