Fix code comments function names (#2927)

Signed-off-by: eveneast <qcqs@foxmail.com>
This commit is contained in:
eveneast
2024-05-20 19:22:22 +05:30
committed by GitHub
parent 932be4eb38
commit 3e43c07e5a
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -355,7 +355,7 @@ func (c *PoolCache) MarkFuncDeleted(function crd.CacheKeyURG) {
}
}
// GetValue returns a function service with status in Active else return error
// GetSvcValue returns a function service with status in Active else return error
func (c *PoolCache) GetSvcValue(ctx context.Context, function crd.CacheKeyURG, requestsPerPod int, concurrency int) (*FuncSvc, error) {
respChannel := make(chan *response)
c.requestChannel <- &request{
@@ -390,7 +390,7 @@ func (c *PoolCache) ListAvailableValue() []*FuncSvc {
return resp.allValues
}
// SetValue marks the value at key [function][address] as active(begin used)
// SetSvcValue marks the value at key [function][address] as active(begin used)
func (c *PoolCache) SetSvcValue(ctx context.Context, function crd.CacheKeyURG, address string, value *FuncSvc, cpuLimit resource.Quantity, requestsPerPod, svcsRetain int) {
respChannel := make(chan *response)
c.requestChannel <- &request{