[#194] Fix updateServers finding logic
All checks were successful
/ DCO (pull_request) Successful in 32s
/ Vulncheck (pull_request) Successful in 49s
/ Builds (pull_request) Successful in 1m7s
/ OCI image (pull_request) Successful in 1m25s
/ Lint (pull_request) Successful in 2m12s
/ Tests (pull_request) Successful in 54s
/ Integration tests (pull_request) Successful in 5m42s

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 838605274a
commit daf2954c52

View file

@ -888,8 +888,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
}