Skip to content

Commit

Permalink
update function due signature change
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Nov 24, 2023
1 parent a6c9349 commit 95f0f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scraper/client/resource/decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func decodeBatch(b []byte, defaultTime time.Time, nodeName string) (*storage.Met
}
node := &storage.MetricsPoint{}
pods := make(map[apitypes.NamespacedName]storage.PodMetricsPoint)
parser, err := textparse.New(b, "")
parser, err := textparse.New(b, "", false)
if err != nil {
return nil, fmt.Errorf("failed to initialize Prometheus parser: %w", err)
}
Expand Down

0 comments on commit 95f0f6d

Please sign in to comment.