fix: NodeGetVolumeStats crash
fix
This commit is contained in:
parent
aacf1ee7dd
commit
a64df6f293
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user