Skip to content

Commit

Permalink
dm: fix peer-urls of dm-master
Browse files Browse the repository at this point in the history
  • Loading branch information
nexustar committed Jun 16, 2022
1 parent 00a67b8 commit 967ebdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion embed/templates/scripts/run_dm-master.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exec bin/dm-master/dm-master \
--name="{{.Name}}" \
--master-addr="0.0.0.0:{{.Port}}" \
--advertise-addr="{{.IP}}:{{.Port}}" \
--peer-urls="{{.Scheme}}://{{.IP}}:{{.PeerPort}}" \
--peer-urls="{{.Scheme}}://0.0.0.0:{{.PeerPort}}" \
--advertise-peer-urls="{{.Scheme}}://{{.IP}}:{{.PeerPort}}" \
--log-file="{{.LogDir}}/dm-master.log" \
--data-dir="{{.DataDir}}" \
Expand Down
2 changes: 1 addition & 1 deletion embed/templates/scripts/run_dm-master_scale.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exec bin/dm-master/dm-master \
--name="{{.Name}}" \
--master-addr="0.0.0.0:{{.Port}}" \
--advertise-addr="{{.IP}}:{{.Port}}" \
--peer-urls="{{.Scheme}}://{{.IP}}:{{.PeerPort}}" \
--peer-urls="{{.Scheme}}://0.0.0.0:{{.PeerPort}}" \
--advertise-peer-urls="{{.Scheme}}://{{.IP}}:{{.PeerPort}}" \
--log-file="{{.LogDir}}/dm-master.log" \
--data-dir="{{.DataDir}}" \
Expand Down

0 comments on commit 967ebdb

Please sign in to comment.