mirror of
				https://github.com/KevinMidboe/mktxp-no-cli.git
				synced 2025-10-29 17:50:23 +00:00 
			
		
		
		
	expires_after cardinality, bug fixes
This commit is contained in:
		@@ -32,7 +32,7 @@ class DHCPMetricsDataSource:
 | 
			
		||||
            if 'host_name' in metric_labels:
 | 
			
		||||
                translation_table['host_name'] = lambda c: c if c else ''           
 | 
			
		||||
            if 'expires_after' in metric_labels:
 | 
			
		||||
                translation_table['expires_after'] = lambda c: parse_mkt_uptime(c)        
 | 
			
		||||
                translation_table['expires_after'] = lambda c: parse_mkt_uptime(c) if c else 0       
 | 
			
		||||
            if 'active_address' in metric_labels:
 | 
			
		||||
                translation_table['active_address'] = lambda c: c if c else ''        
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user