derp
All checks were successful
Pipeline was successful

This commit is contained in:
Tobias Trabelsi 2023-11-06 21:28:14 +01:00
parent bbdcedf6de
commit 2d03c2dcc4
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E

View File

@ -51,7 +51,7 @@ func main() {
log.WithFields(log.Fields{
"Caller": "Main",
}).Infof("Currently owning %d Agents", len(ownedNodes))
if pendingTasks < len(ownedNodes) {
if pendingTasks > len(ownedNodes) {
server, err := hetzner.CreateNewAgent(cfg)
if err != nil {
log.WithFields(log.Fields{