Skip to content

Commit

Permalink
godoc: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
fho committed Dec 12, 2023
1 parent eacc475 commit 1805484
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/cli/buildstagemapflag.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "strings"
// "<JOB-NAME>:<STAGE-NAME>,..."
// 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 {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1805484

Please sign in to comment.