mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-27 07:39:05 +01:00
Add Flush method
This commit is contained in:
parent
06ab58dc92
commit
aa842a8a9c
@ -127,6 +127,10 @@ func (s *SqliteSink) Write(measurement string, tags map[string]string, fields ma
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *SqliteSink) Flush() error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
func (s *SqliteSink) Close() {
|
func (s *SqliteSink) Close() {
|
||||||
log.Print("Closing Sqlite3 database ", s.database)
|
log.Print("Closing Sqlite3 database ", s.database)
|
||||||
if s.db != nil {
|
if s.db != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user