watchtower: always populate Tower in ClientSession
In this commit, we make sure to always populate the Tower member of a ClientSession. This is done for consistency.
This commit is contained in:
3 files changed
+28
-18
No files matched your search
@@ -220,6 +220,7 @@ func (m *ClientDB) listClientSessions(
|
||||
if tower != nil && *tower != session.TowerID {
|
||||
continue
|
||||
}
|
||||
session.Tower = m.towers[session.TowerID]
|
||||
sessions[session.ID] = &session
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user