(state *agent.AgentState)
| 260 | } |
| 261 | return tenantID + "\x00" + sessionID |
| 262 | } |
| 263 | |
| 264 | func applyPinnedDaemonConfig(target *config.Config, source config.Config) { |
| 265 | if target == nil || len(source.PinnedFields) == 0 { |
| 266 | return |
| 267 | } |
| 268 | target.PinnedFields = map[string]bool{} |
| 269 | for field, pinned := range source.PinnedFields { |
| 270 | if !pinned { |
| 271 | continue |
| 272 | } |
| 273 | target.PinnedFields[field] = true |
nothing calls this directly
no test coverage detected