refactor
Signed-off-by: martin <martin.labat92@gmail.com>
This commit is contained in:
parent
5b426932cf
commit
b5ced9df2c
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ import (
|
|||
"github.com/prometheus/client_golang/prometheus"
|
||||
)
|
||||
|
||||
func Sendbackmessagepreference(result *models.StructServerInfo, result2 *models.StructAllUsers, r *prometheus.Registry) {
|
||||
func SendBackMessagePreference(result *models.StructServerInfo, result2 *models.StructAllUsers, r *prometheus.Registry) {
|
||||
total_photos := prometheus.NewGauge(prometheus.GaugeOpts{
|
||||
Name: "immich_app_total_photos",
|
||||
Help: "The total number of photos",
|
||||
|
@ -65,7 +65,7 @@ func Sendbackmessagepreference(result *models.StructServerInfo, result2 *models.
|
|||
|
||||
}
|
||||
|
||||
func Sendbackmessageserverversion(result *models.StructServerVersion, r *prometheus.Registry) {
|
||||
func SendBackMessageserverVersion(result *models.StructServerVersion, r *prometheus.Registry) {
|
||||
|
||||
version := prometheus.NewGauge(prometheus.GaugeOpts{
|
||||
Name: "version",
|
||||
|
|
Loading…
Reference in a new issue