Skip to content

Commit 6bced1b

Browse files
committed
update other policies
1 parent 1f09711 commit 6bced1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/controller/instaslice_controller.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -346,15 +346,15 @@ func (r *FirstFitPolicy) SetAllocationDetails(profileName string, newStart, size
346346
// Policy based allocation - LeftToRIght
347347
func (l *LeftToRightPolicy) SetAllocationDetails(profileName string, newStart, size uint32, podUUID, nodename string,
348348
processed string, discoveredGiprofile int, Ciprofileid int, Ciengprofileid int,
349-
namespace string, podName string) *inferencev1alpha1.AllocationDetails {
349+
namespace string, podName string, gpuUuid string) *inferencev1alpha1.AllocationDetails {
350350
// Implement the left-to-right policy here
351351
return &inferencev1alpha1.AllocationDetails{}
352352
}
353353

354354
// Policy based allocation - RigghToLeft
355355
func (l *RightToLeftPolicy) SetAllocationDetails(profileName string, newStart, size uint32, podUUID, nodename string,
356356
processed string, discoveredGiprofile int, Ciprofileid int, Ciengprofileid int,
357-
namespace string, podName string) *inferencev1alpha1.AllocationDetails {
357+
namespace string, podName string, gpuUuid string) *inferencev1alpha1.AllocationDetails {
358358
// Implement the left-to-right policy here
359359
return &inferencev1alpha1.AllocationDetails{}
360360
}

0 commit comments

Comments
 (0)