mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-11-01 00:15:05 +01:00
Schema for metric store
This commit is contained in:
@@ -7,6 +7,7 @@ package memorystore
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"sync"
|
||||
|
||||
"github.com/ClusterCockpit/cc-lib/schema"
|
||||
@@ -187,6 +188,8 @@ func (b *buffer) read(from, to int64, data []schema.Float) ([]schema.Float, int6
|
||||
i++
|
||||
}
|
||||
|
||||
fmt.Printf("Given From : %d, To: %d\n", from, to)
|
||||
|
||||
return data[:i], from, t, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user