Skip to content

Commit

Permalink
Fix incorrect path variable assignment
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Weiße <[email protected]>
  • Loading branch information
daniel-weisse committed Oct 4, 2023
1 parent 4ce05c3 commit be1b991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/azuredisk/nodeserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ func (d *Driver) NodePublishVolume(ctx context.Context, req *csi.NodePublishVolu
if err != nil {
return nil, status.Errorf(codes.InvalidArgument, "Unable to parse disk URI: %v", err)
}
source := filepath.Join("/dev/mapper", diskName)
source = filepath.Join("/dev/mapper", diskName)

klog.V(2).Infof("NodePublishVolume [block]: found device path %s", source)
err = d.ensureBlockTargetFile(target)
Expand Down

0 comments on commit be1b991

Please sign in to comment.