Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsgstrabo committed Feb 24, 2025
1 parent ef82ab3 commit 7b76ab6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
12 changes: 0 additions & 12 deletions pkg/apis/volumemount/volumemount.go
Original file line number Diff line number Diff line change
Expand Up @@ -627,18 +627,6 @@ func getStreamingMountOptions(streaming *radixv1.RadixVolumeMountStreaming) []st
streamCache = *streaming.StreamCache
}
mountOptions = append(mountOptions, fmt.Sprintf("--block-cache-pool-size=%v", streamCache))
// if streaming.BlockSize != nil {
// mountOptions = append(mountOptions, fmt.Sprintf("--%s=%v", csiMountOptionStreamingBlockSize, *streaming.BlockSize))
// }
// if streaming.BufferSize != nil {
// mountOptions = append(mountOptions, fmt.Sprintf("--%s=%v", csiMountOptionStreamingBufferSize, *streaming.BufferSize))
// }
// if streaming.MaxBuffers != nil {
// mountOptions = append(mountOptions, fmt.Sprintf("--%s=%v", csiMountOptionStreamingMaxBuffers, *streaming.MaxBuffers))
// }
// if streaming.MaxBlocksPerFile != nil {
// mountOptions = append(mountOptions, fmt.Sprintf("--%s=%v", csiMountOptionStreamingMaxBlocksPerFile, *streaming.MaxBlocksPerFile))
// }
return mountOptions
}

Expand Down
4 changes: 0 additions & 4 deletions pkg/apis/volumemount/volumemount_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -716,10 +716,6 @@ func (s *volumeMountTestSuite) Test_CreateOrUpdateCsiAzureResources() {
pv.Spec.MountOptions = getMountOptions(props,
"--streaming=true",
"--block-cache-pool-size=101",
// "--block-size-mb=102",
// "--buffer-size-mb=103",
// "--max-buffers=104",
// "--max-blocks-per-file=105",
"--use-adls=false",
)
}),
Expand Down

0 comments on commit 7b76ab6

Please sign in to comment.