()
| 46 | } |
| 47 | |
| 48 | func (ln *labelName) getActive() map[string]int { |
| 49 | if active := ln.active.Load(); active != nil { |
| 50 | return active.(map[string]int) |
| 51 | } |
| 52 | return map[string]int{} |
| 53 | } |
| 54 | |
| 55 | func (ln *labelName) replaceActive(newActive map[string]int) { |
| 56 | ln.active.Store(newActive) |
no test coverage detected