test patch

This commit is contained in:
Jeff Carr 2025-09-22 21:40:20 -05:00
parent 254e496abf
commit 10ccaf765b
1 changed files with 4 additions and 1 deletions

View File

@ -87,7 +87,10 @@ func sendUpgrade(i int) {
m.Upgrade = true m.Upgrade = true
log.Info("upgrade", m.Hostname, count) log.Info("upgrade", m.Hostname, count)
} }
if i == -1 || count > i { if i == -1 {
continue
}
if count > i {
return return
} }
} }