From b5ced9df2c2235385ae736bfde6451d65bb2a581 Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 15 Feb 2023 20:46:01 +0100 Subject: [PATCH] refactor Signed-off-by: martin --- src/immich/sendbackmessage.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/immich/sendbackmessage.go b/src/immich/sendbackmessage.go index 82f641f..cfa1bdb 100644 --- a/src/immich/sendbackmessage.go +++ b/src/immich/sendbackmessage.go @@ -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",