mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
chore: gofumpt
Signed-off-by: Manik Rana <manikrana54@gmail.com>
This commit is contained in:
parent
fd2a2b1b9e
commit
bec708eda8
|
@ -80,7 +80,7 @@ type Parser interface {
|
||||||
//
|
//
|
||||||
// This function always returns a valid parser, but might additionally
|
// This function always returns a valid parser, but might additionally
|
||||||
// return an error if the content type cannot be parsed.
|
// return an error if the content type cannot be parsed.
|
||||||
func New(b []byte, contentType string, parseClassicHistograms bool, skipOMSeries bool, st *labels.SymbolTable) (Parser, error) {
|
func New(b []byte, contentType string, parseClassicHistograms, skipOMSeries bool, st *labels.SymbolTable) (Parser, error) {
|
||||||
if contentType == "" {
|
if contentType == "" {
|
||||||
return NewPromParser(b, st), nil
|
return NewPromParser(b, st), nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue