Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[management] Fix process posture check evaluation on Sync #2911

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
link peer meta update back to account object
  • Loading branch information
pascal-fischer committed Nov 19, 2024
commit 073f757b2205ad7fc5e1f27b8ee5889151245734
1 change: 1 addition & 0 deletions management/server/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading