From 740e7ff919a3cf35a4dc6c641f03b97e31221ec8 Mon Sep 17 00:00:00 2001 From: Martin Hansen Date: Mon, 26 Aug 2024 13:01:45 +0200 Subject: [PATCH] new release --- charts/idrac-exporter/Chart.yaml | 4 ++-- cmd/idrac_exporter/main.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/idrac-exporter/Chart.yaml b/charts/idrac-exporter/Chart.yaml index 0b738f9..2dc3bc9 100644 --- a/charts/idrac-exporter/Chart.yaml +++ b/charts/idrac-exporter/Chart.yaml @@ -6,10 +6,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: "0.3.0" +version: "0.4.0" # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.4.1" +appVersion: "1.4.2" diff --git a/cmd/idrac_exporter/main.go b/cmd/idrac_exporter/main.go index 52631e2..441c347 100644 --- a/cmd/idrac_exporter/main.go +++ b/cmd/idrac_exporter/main.go @@ -18,6 +18,7 @@ func main() { flag.StringVar(&configFile, "config", "/etc/prometheus/idrac.yml", "Path to idrac exporter configuration file") flag.Parse() + log.Info("Build information: version=%s revision=%s", version.Version, version.Revision) config.ReadConfig(configFile) if verbose { @@ -27,9 +28,8 @@ func main() { http.HandleFunc("/metrics", MetricsHandler) http.HandleFunc("/health", HealthHandler) http.HandleFunc("/reset", ResetHandler) - bind := fmt.Sprintf("%s:%d", config.Config.Address, config.Config.Port) - log.Info("Build information: version=%s revision=%s", version.Version, version.Revision) + bind := fmt.Sprintf("%s:%d", config.Config.Address, config.Config.Port) log.Info("Server listening on %s", bind) err := http.ListenAndServe(bind, nil)