Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions fleetspeak/src/server/comms.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ func (c commsContext) InitializeConnection(ctx context.Context, addr net.Addr, k
Addr: addr.String(),
ClientClock: cd.ClientClock,
StreamingTo: streamingTo,
Labels: res.Client.Labels,
})
if err != nil {
return nil, nil, false, err
Expand Down
3 changes: 3 additions & 0 deletions fleetspeak/src/server/db/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ type ContactData struct {
// If non-empty, indicates that the contact is or was a streaming contact to
// the listed FS server. (As defined by notifications module being used.)
StreamingTo string

// The labels of the client at the time of contact.
Labels []*fspb.Label
}

// ClientStore provides methods to store and retrieve information about clients.
Expand Down
Loading