Skip to content

Commit

Permalink
fix: correct "function" nam of log in csi
Browse files Browse the repository at this point in the history
Signed-off-by: James Lu <james.lu@suse.com>
  • Loading branch information
mantissahz committed May 2, 2024
1 parent 9d5cba8 commit f8d8a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csi/controller_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ func (cs *ControllerServer) waitForSnapshotToBeReady(snapshotName, volumeName st
}

func (cs *ControllerServer) ControllerModifyVolume(ctx context.Context, req *csi.ControllerModifyVolumeRequest) (*csi.ControllerModifyVolumeResponse, error) {
log := cs.log.WithFields(logrus.Fields{"function": "ControllerExpandVolume"})
log := cs.log.WithFields(logrus.Fields{"function": "ControllerModifyVolume"})
log.Infof("ControllerModifyVolume: called with args %+v", *req)

return nil, status.Error(codes.Unimplemented, "")
Expand Down

0 comments on commit f8d8a9b

Please sign in to comment.