File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
internal/compute-domain-dra-plugin Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ const (
2727 maxChannelID = 2048
2828)
2929
30- type AllocatableComputeDomainDevices map [string ]resourceapi.Device
30+ type allocatableComputeDomainDevices map [string ]resourceapi.Device
3131
32- func enumerateComputeDomainDevices () (AllocatableComputeDomainDevices , error ) {
33- alldevices := make (AllocatableComputeDomainDevices )
32+ func enumerateComputeDomainDevices () (allocatableComputeDomainDevices , error ) {
33+ alldevices := make (allocatableComputeDomainDevices )
3434
3535 for channelID := range maxChannelID {
3636 device := newChannelDevice (channelID )
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ func TestEnumerateComputeDomainDevices(t *testing.T) {
4848}
4949
5050func TestAllocatableComputeDomainDevices (t * testing.T ) {
51- devices := make (AllocatableComputeDomainDevices )
51+ devices := make (allocatableComputeDomainDevices )
5252 assert .NotNil (t , devices )
5353 assert .Len (t , devices , 0 )
5454
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ import (
3535type computeDomainDriver struct {
3636 client coreclientset.Interface
3737 helper * kubeletplugin.Helper
38- allocatable AllocatableComputeDomainDevices
38+ allocatable allocatableComputeDomainDevices
3939 cancelCtx func (error )
4040}
4141
You can’t perform that action at this time.
0 commit comments