Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
cosmetic: reduce confusion w.r.t. meaning of 'connection'
Browse files Browse the repository at this point in the history
  • Loading branch information
rade committed Sep 29, 2015
1 parent c1036c5 commit 2d753eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion prog/weaver/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ var statusTemplate = defTemplate("status", `\
PeerDiscovery: {{printState .Router.PeerDiscovery}}
Targets: {{len .Router.Targets}}
Connections: {{len .Router.Connections}}{{with printConnectionCounts .Router.Connections}} ({{.}}){{end}}
Peers: {{len .Router.Peers}}{{with printPeerConnectionCounts .Router.Peers}} (with {{.}} connections between them){{end}}
Peers: {{len .Router.Peers}}{{with printPeerConnectionCounts .Router.Peers}} (with {{.}} connections){{end}}
{{if .IPAM}}\
Service: ipam
Expand Down
8 changes: 4 additions & 4 deletions site/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ $ weave status
PeerDiscovery: enabled
Targets: [192.168.48.14 192.168.48.15]
Connections: 5 (1 established, 1 pending, 1 retrying, 1 failed, 1 connecting)
Peers: 3 (with 5 established, 1 pending connections betweeen them)
Peers: 3 (with 5 established, 1 pending connections)
Service: ipam
Consensus: achieved
Expand Down Expand Up @@ -125,9 +125,9 @@ router and other peers, and a break down of that figure by connection
state. Further details are available with
[`weave status connections`](#weave-status-connections).

'Peers' shows the total number of peers in the network, and the number of
connections between them. Further details are available with
[`weave status peers`](#weave-status-peers).
'Peers' shows the total number of peers in the network, and the total
number of connections peers have to other peers. Further details are
available with [`weave status peers`](#weave-status-peers).

There are further sections for the [IP address
allocator](ipam.html#troubleshooting),
Expand Down

0 comments on commit 2d753eb

Please sign in to comment.