raft change from http to grpc

master grpc port is fixed to http port + 10000
This commit is contained in:
Chris Lu committed 2019-02-18 22:38:14 -08:00
1 parent 448645203a
commit 07af52cb6f
6 files changed
+65 -87

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ var StatusTpl = template.Must(template.New("status").Parse(`<!DOCTYPE html>
<td class="col-sm-2 field-label"><label>Other Masters:</label></td>
<td class="col-sm-10"><ul class="list-unstyled">
{{ range $k, $p := .Peers }}
<li><a href="{{ $p.ConnectionString }}">{{ $p.Name }}</a></li>
<li><a href="http://{{ $p.Name }}">{{ $p.Name }}</a></li>
{{ end }}
</ul></td>
</tr>