mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-26 15:29:04 +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
|
||||
}
|
||||
|
||||
func (s *SqliteSink) Flush() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *SqliteSink) Close() {
|
||||
log.Print("Closing Sqlite3 database ", s.database)
|
||||
if s.db != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user