mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-11-04 10:45:06 +01:00 
			
		
		
		
	Add Flush method
This commit is contained in:
		@@ -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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user