cwtch attribute changes
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dan Ballard 2021-12-07 18:21:24 -08:00
parent 25d035267a
commit 35abad7224
1 changed files with 1 additions and 2 deletions

View File

@ -57,7 +57,6 @@ func (gf *GroupFunctionality) GetServerInfo(serverOnion string, profile peer.Cwt
}
}
descPath := attr.LocalScope.ConstructScopedZonedPath(servers.ServerZone.ConstructZonedPath(constants.Description))
description, _ := serverInfo.GetAttribute(descPath.ToString())
description, _ := serverInfo.GetAttribute(attr.LocalScope, servers.ServerZone, constants.Description)
return Server{Onion: serverOnion, Status: connections.ConnectionStateName[profile.GetPeerState(serverInfo.Handle)], Keys: serverKeys, Description: description}
}