xmaker: fix disableHedge check
Some checks are pending
Go / build (1.21, 6.2) (push) Waiting to run
golang-lint / lint (push) Waiting to run

This commit is contained in:
c9s 2024-10-16 17:36:05 +08:00
parent 6d857cdd48
commit f9a75036a7
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -1516,7 +1516,7 @@ func (s *Strategy) hedgeWorker(ctx context.Context) {
continue
}
if !s.DisableHedge {
if s.DisableHedge {
continue
}