Skip to content

Commit a93670c

Browse files
author
Lorenz Kästle
committed
Replace variable name foo
1 parent c9382c2 commit a93670c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/common/config/icinga2Config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ func GenerateIcinga2Config(cmd *cobra.Command, commandName, executableName strin
2929

3030
ccaFlags = make([]icingadsl.CheckCommandArgument, 0)
3131

32-
flags.VisitAll(func(foo *pflag.Flag) {
33-
if foo.Name != "help" && foo.Name != "debug" {
34-
_ = GenerateIcinga2CheckCommandArgument(foo, &ccaFlags)
32+
flags.VisitAll(func(flag *pflag.Flag) {
33+
if flag.Name != "help" && flag.Name != "debug" {
34+
_ = GenerateIcinga2CheckCommandArgument(flag, &ccaFlags)
3535
}
3636
})
3737

0 commit comments

Comments
 (0)