Upgrade cclib and remove usage of obsolete util.Float

This commit is contained in:
2026-01-26 08:38:53 +01:00
parent 525d99140f
commit c782043c64
5 changed files with 19 additions and 18 deletions

View File

@@ -44,6 +44,7 @@ import (
"sync"
"unsafe"
"github.com/ClusterCockpit/cc-lib/v2/schema"
"github.com/ClusterCockpit/cc-lib/v2/util"
)
@@ -272,7 +273,7 @@ func (l *Level) sizeInBytes() int64 {
for _, b := range l.metrics {
if b != nil {
size += b.count() * int64(unsafe.Sizeof(util.Float(0)))
size += b.count() * int64(unsafe.Sizeof(schema.Float(0)))
}
}