mirror of
https://github.com/prometheus/prometheus.git
synced 2026-02-18 18:25:24 -05:00
remove unused func
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
This commit is contained in:
parent
3b5a503db9
commit
f3d9eb856e
1 changed files with 0 additions and 16 deletions
|
|
@ -483,19 +483,3 @@ func NewEmptyChunk(e Encoding) (Chunk, error) {
|
|||
}
|
||||
return nil, fmt.Errorf("invalid chunk encoding %q", e)
|
||||
}
|
||||
|
||||
func newEmptyChunkWithST(e Encoding) Chunk {
|
||||
switch e {
|
||||
case EncXOROptST:
|
||||
return NewXOROptSTChunk()
|
||||
case EncXOROptOtelST:
|
||||
return NewXOROptSTotelChunk()
|
||||
case EncXOR2ST:
|
||||
return NewXOR2STChunk()
|
||||
case EncXOR2STotel:
|
||||
return NewXOR2STotelChunk()
|
||||
default:
|
||||
// The caller code is literally right above this function.
|
||||
panic(fmt.Sprintf("invalid chunk encoding %q", e))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue