Use the files globbed files and not the files in cfg
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
This commit is contained in:
		
							parent
							
								
									52c0121890
								
							
						
					
					
						commit
						823b7f90b3
					
				| 
						 | 
				
			
			@ -289,7 +289,7 @@ func main() {
 | 
			
		|||
				}
 | 
			
		||||
				files = append(files, fs...)
 | 
			
		||||
			}
 | 
			
		||||
			return ruleManager.Update(time.Duration(cfg.GlobalConfig.EvaluationInterval), cfg.RuleFiles)
 | 
			
		||||
			return ruleManager.Update(time.Duration(cfg.GlobalConfig.EvaluationInterval), files)
 | 
			
		||||
		},
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue