File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ type datastore struct {
8787 // poolAndObjectivesMu is used to synchronize access to pool and the objectives map.
8888 poolAndObjectivesMu sync.RWMutex
8989 pool * v1.InferencePool
90- // key: InferenceObjective.Spec.ModelName , value: *InferenceObjective
90+ // key: InferenceObjective name , value: *InferenceObjective
9191 objectives map [string ]* v1alpha2.InferenceObjective
9292 // key: types.NamespacedName, value: backendmetrics.PodMetrics
9393 pods * sync.Map
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ import (
4444// Datastore defines the interface required by the Director.
4545type Datastore interface {
4646 PoolGet () (* v1.InferencePool , error )
47- ObjectiveGet (modelName string ) * v1alpha2.InferenceObjective
47+ ObjectiveGet (objectiveName string ) * v1alpha2.InferenceObjective
4848 PodList (predicate func (backendmetrics.PodMetrics ) bool ) []backendmetrics.PodMetrics
4949}
5050
You can’t perform that action at this time.
0 commit comments