Skip to content

Commit

Permalink
tsrelay/handler: change nodes to machines (#188)
Browse files Browse the repository at this point in the history
<img width="304" alt="image"
src="https://github.com/tailscale-dev/vscode-tailscale/assets/79330/fe093055-7ad0-4984-a748-e188aa3ea162">
<img width="471" alt="image"
src="https://github.com/tailscale-dev/vscode-tailscale/assets/79330/94d4d4bd-0c39-456f-8eee-17751c6a4331">

Fixes #187

---------

Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
  • Loading branch information
shayne and marwan-at-work committed Aug 9, 2023
1 parent cc64ced commit 2e14bcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tsrelay/handler/get_peers.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ func (h *handler) getPeers(ctx context.Context, body io.Reader) (*getPeersRespon

s := getPeersResponse{PeerGroups: []*peerGroup{}}
peerGroups := [...]*peerGroup{
{Name: "My nodes"},
{Name: "All nodes"},
{Name: "Offline nodes"},
{Name: "Managed by you"},
{Name: "All machines"},
{Name: "Offline machines"},
}

if st.BackendState == "NeedsLogin" || (st.Self != nil && !st.Self.Online) {
Expand Down

0 comments on commit 2e14bcd

Please sign in to comment.