Skip to content

Commit

Permalink
fix: NodeGetVolumeStats crash
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
andyzhangx committed Dec 27, 2023
1 parent aacf1ee commit a64df6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/nfs/nodeserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit a64df6f

Please sign in to comment.