mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-26 00:17:48 +00:00
Show online in CLI & API when isOnline() reports so
This commit is contained in:

committed by
Kristoffer Dalby

parent
4532915be1
commit
000c02dad9
@@ -767,6 +767,7 @@ func (machine *Machine) toProto() *v1.Machine {
|
||||
GivenName: machine.GivenName,
|
||||
Namespace: machine.Namespace.toProto(),
|
||||
ForcedTags: machine.ForcedTags,
|
||||
Online: machine.isOnline(),
|
||||
|
||||
// TODO(kradalby): Implement register method enum converter
|
||||
// RegisterMethod: ,
|
||||
|
Reference in New Issue
Block a user