Skip to content

Commit b40974d

Browse files
mjuragaGopher Bot
authored andcommitted
BUG/MINOR: raw: use custom validation command on only validate
1 parent 30e9156 commit b40974d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configuration/check.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func checkHaproxyConfiguration(opt options.ConfigurationOptions, path string, tr
3636
"HAPROXY_MWORKER_WAIT_ONLY", "HAPROXY_PROCESSES")
3737

3838
switch {
39-
case len(transactionID) > 0 && len(opt.ValidateCmd) > 0:
39+
case len(opt.ValidateCmd) > 0:
4040
w, _ := shellquote.Split(opt.ValidateCmd)
4141
name = w[0]
4242
args = w[1:]

0 commit comments

Comments
 (0)