diff --git a/util/param.go b/util/param.go index 040b6febf..453fb3d67 100644 --- a/util/param.go +++ b/util/param.go @@ -1,7 +1,6 @@ package util import ( - "fmt" "maps" "slices" "strconv" @@ -15,7 +14,7 @@ import ( type Param struct { Loadpoint *int Key string - Val interface{} + Val any } // UniqueID returns unique identifier for parameter Loadpoint/Key combination @@ -56,20 +55,12 @@ func NewParamCache() *ParamCache { // Run adds input channel's values to cache func (c *ParamCache) Run(in <-chan Param) { - log := NewLogger("cache") - for p := range in { if flushC, ok := p.Val.(flush); ok { close(flushC) continue } - key := p.Key - if p.Loadpoint != nil { - key = fmt.Sprintf("lp-%d/%s", *p.Loadpoint+1, key) - } - - log.TRACE.Printf("%s: %v", key, p.Val) c.Add(p.UniqueID(), p) } }