cli: ensure tagged-devices is included in profile list (#2991)
This commit is contained in:
parent
f5c779626a
commit
72fcb93ef3
15 changed files with 184 additions and 47 deletions
|
|
@ -78,7 +78,7 @@ func (s *State) DebugOverview() string {
|
|||
now := time.Now()
|
||||
for _, node := range allNodes.All() {
|
||||
if node.Valid() {
|
||||
userName := node.User().Name()
|
||||
userName := node.Owner().Name()
|
||||
userNodeCounts[userName]++
|
||||
|
||||
if node.IsOnline().Valid() && node.IsOnline().Get() {
|
||||
|
|
@ -281,7 +281,7 @@ func (s *State) DebugOverviewJSON() DebugOverviewInfo {
|
|||
|
||||
for _, node := range allNodes.All() {
|
||||
if node.Valid() {
|
||||
userName := node.User().Name()
|
||||
userName := node.Owner().Name()
|
||||
info.Users[userName]++
|
||||
|
||||
if node.IsOnline().Valid() && node.IsOnline().Get() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue