Skip to content

Commit

Permalink
Dereference the *int
Browse files Browse the repository at this point in the history
We dont want to print the pointer address
  • Loading branch information
Alex Vest committed Dec 14, 2023
1 parent 9a395cb commit a4c9e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/linode-bs/controllerserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ func (linodeCS *LinodeControllerServer) ListVolumes(ctx context.Context, req *cs

var publishInfoVolumeName []string = make([]string, 0, 1)
if vol.LinodeID != nil {
publishInfoVolumeName = append(publishInfoVolumeName, fmt.Sprintf("%d", vol.LinodeID))
publishInfoVolumeName = append(publishInfoVolumeName, fmt.Sprintf("%d", *vol.LinodeID))
}

entries = append(entries, &csi.ListVolumesResponse_Entry{
Expand Down

0 comments on commit a4c9e06

Please sign in to comment.