mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-31 07:30:49 -08:00
11 lines
240 B
Go
11 lines
240 B
Go
|
//go:build !stringlabels
|
||
|
|
||
|
// Split out function which needs to be coded differently for stringlabels case.
|
||
|
|
||
|
package tsdb
|
||
|
|
||
|
func (sw *symbolsBatcher) addSymbol(sym string) error {
|
||
|
sw.buffer[sym] = struct{}{}
|
||
|
return sw.flushSymbols(false)
|
||
|
}
|