debug
This commit is contained in:
		
							parent
							
								
									b49bcc8bfb
								
							
						
					
					
						commit
						f527c21a90
					
				
							
								
								
									
										4
									
								
								proxy.go
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								proxy.go
									
									
									
									
									
								
							@ -133,7 +133,9 @@ func main() {
 | 
				
			|||||||
	r := gin.Default()
 | 
						r := gin.Default()
 | 
				
			||||||
	r.GET("/metrics", GetMetrics)
 | 
						r.GET("/metrics", GetMetrics)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	r.Run(fmt.Sprintf(":%d", exporterPort))
 | 
						if err := r.Run(fmt.Sprintf(":%d", exporterPort)); err != nil {
 | 
				
			||||||
 | 
							log.Fatalf("router.Run (%s)", err)
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (s *ShellyStatus) Fetch() {
 | 
					func (s *ShellyStatus) Fetch() {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user