dfsr: Fix DFS Replication Service Volumes collector (#1595)

This commit is contained in:
Jan-Otto Kröpke 2024-09-02 14:58:29 +02:00 committed by GitHub
parent e6b74b690a
commit 37664cb19a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -822,7 +822,7 @@ type perflibDFSRVolume struct {
func (c *Collector) collectVolume(ctx *types.ScrapeContext, logger log.Logger, ch chan<- prometheus.Metric) error {
logger = log.With(logger, "collector", Name)
var dst []perflibDFSRVolume
if err := perflib.UnmarshalObject(ctx.PerfObjects["DFS Replication Service volumes"], &dst, logger); err != nil {
if err := perflib.UnmarshalObject(ctx.PerfObjects["DFS Replication Service Volumes"], &dst, logger); err != nil {
return err
}