run eslint
This commit is contained in:
		
							parent
							
								
									268dd33792
								
							
						
					
					
						commit
						debcac4924
					
				
					 1 changed files with 3 additions and 6 deletions
				
			
		|  | @ -45,13 +45,10 @@ class Prometheus { | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     update(heartbeat, tlsInfo) { |     update(heartbeat, tlsInfo) { | ||||||
| 
 |         if (typeof tlsInfo !== "undefined") { | ||||||
|         // TODO: TLS Info here
 |  | ||||||
| 
 |  | ||||||
|         if (typeof tlsInfo !== "undefined"){ |  | ||||||
|             try { |             try { | ||||||
|                 var is_valid = 0 |                 let is_valid = 0 | ||||||
|                 if (tlsInfo.valid == true){ |                 if (tlsInfo.valid == true) { | ||||||
|                     is_valid = 1 |                     is_valid = 1 | ||||||
|                 } else { |                 } else { | ||||||
|                     is_valid = 0 |                     is_valid = 0 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue