@ -133,7 +133,9 @@ func main() {
r := gin.Default()
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() {
The note is not visible to the blocked user.