added re-generating and writing the Volume UUID if it is empty (#6568)

This commit is contained in:
Aleksey Kosov
2025-02-24 18:58:43 +03:00
committed by GitHub
parent be74548cb5
commit ef4eda0761
2 changed files with 16 additions and 10 deletions

View File

@@ -1,7 +1,6 @@
package stats
import (
"log"
"net"
"net/http"
"os"
@@ -436,7 +435,7 @@ func StartMetricsServer(ip string, port int) {
return
}
http.Handle("/metrics", promhttp.HandlerFor(Gather, promhttp.HandlerOpts{}))
log.Fatal(http.ListenAndServe(JoinHostPort(ip, port), nil))
glog.Fatal(http.ListenAndServe(JoinHostPort(ip, port), nil))
}
func SourceName(port uint32) string {