[#194] Fix updateServers finding logic
All checks were successful
/ DCO (pull_request) Successful in 38s
/ Builds (pull_request) Successful in 58s
/ OCI image (pull_request) Successful in 1m20s
/ Lint (pull_request) Successful in 2m26s
/ Tests (pull_request) Successful in 1m12s
/ Integration tests (pull_request) Successful in 5m42s
/ Vulncheck (pull_request) Successful in 41s
/ Builds (push) Successful in 1m39s
/ Vulncheck (push) Successful in 42s
/ OCI image (push) Successful in 1m14s
/ Lint (push) Successful in 2m14s
/ Tests (push) Successful in 1m1s
/ Integration tests (push) Successful in 6m0s

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
Denis Kirillov 2025-01-27 14:23:31 +03:00
parent 8362cd696e
commit 72e5d645b9

View file

@ -894,8 +894,8 @@ func (a *app) updateServers() error {
if err := ser.UpdateCert(serverInfo.TLS.CertFile, serverInfo.TLS.KeyFile); err != nil {
return fmt.Errorf("failed to update tls certs: %w", err)
}
found = true
}
found = true
} else if unbind := a.updateUnbindServerInfo(serverInfo); unbind {
found = true
}