WaitGetPeer now uses public scoped names
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Sarah Jamie Lewis 2021-10-26 14:50:05 -07:00
parent 8fead28be9
commit 4859a90d02
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ func WaitGetPeer(app app2.Application, name string) peer.CwtchPeer {
for {
for _, handle := range app.ListProfiles() {
peer := app.GetPeer(handle)
localName, _ := peer.GetScopedZonedAttribute(attr.LocalScope, attr.ProfileZone, constants.Name)
localName, _ := peer.GetScopedZonedAttribute(attr.PublicScope, attr.ProfileZone, constants.Name)
if localName == name {
return peer
}