dfsr: Fix DFS Replication Service Volumes collector (#1595)
This commit is contained in:
parent
e6b74b690a
commit
37664cb19a
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue