diff --git a/management/server/peer.go b/management/server/peer.go index 8c45e45c9..901e4815d 100644 --- a/management/server/peer.go +++ b/management/server/peer.go @@ -667,6 +667,7 @@ func (am *DefaultAccountManager) SyncPeer(ctx context.Context, sync PeerSync, ac updated := peer.UpdateMetaIfNew(sync.Meta) if updated { + account.Peers[peer.ID] = peer log.WithContext(ctx).Tracef("peer %s metadata updated", peer.ID) err = am.Store.SavePeer(ctx, account.Id, peer) if err != nil {