From a8113bc6111b7cdf091001654163b8ce832acdb5 Mon Sep 17 00:00:00 2001 From: Fabian Holler Date: Mon, 11 Dec 2023 12:55:27 +0100 Subject: [PATCH] godoc: fix typos --- internal/cli/buildstagemapflag.go | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cli/buildstagemapflag.go b/internal/cli/buildstagemapflag.go index 14eda4a..7920e25 100644 --- a/internal/cli/buildstagemapflag.go +++ b/internal/cli/buildstagemapflag.go @@ -6,7 +6,7 @@ import "strings" // ":,..." // into a map[JOB-NAME]map[STAGE-NAME]struct{} datastructure. // If an elem ends with a "," it is interpreted as being on the Job-Name. -// Later elemens overwrite earlier elements. +// Later element overwrite earlier elements. type BuildStageMapFlag map[string]map[string]struct{} func (b BuildStageMapFlag) Set(v string) error { diff --git a/main.go b/main.go index 3895da8..498baad 100644 --- a/main.go +++ b/main.go @@ -28,7 +28,7 @@ const ( appName = "jenkins-exporter" ) -// Version is set during compiliation via -ldflags. +// Version is set during compilation via -ldflags. var Version = "unknown" const stateStoreCleanupInterval = 10 * 60 * time.Second