diff --git a/pkg/nfs/nodeserver.go b/pkg/nfs/nodeserver.go index f9f5fc902..76e0d675b 100644 --- a/pkg/nfs/nodeserver.go +++ b/pkg/nfs/nodeserver.go @@ -277,7 +277,7 @@ func (ns *NodeServer) NodeGetVolumeStats(_ context.Context, req *csi.NodeGetVolu } // cache the volume stats per volume - ns.Driver.volStatsCache.Set(req.VolumeId, &resp) + ns.Driver.volStatsCache.Set(req.VolumeId, resp) return &resp, err }