You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5ae1774
Browse filesBrowse the repository at this point in the historyBrowse files
Roll back a rule's connection settings when the router update fails
When applying an updated rule to the router fails, updateLoadBalancerRule
puts back the name, description, algorithm and cidrs, but not the
keepalive and timeouts. Those stayed in the database while the router
still ran the old values, and the next successful apply of anything on
that router would quietly push them.
The settings held before the update are now restored along with the
rest.
They were also written before the provider validated the rule, so a
rule it rejected kept the new settings. The other fields only reach the
database at _lbDao.update, after validation; the settings are now
written at the same point.
Signed-off-by: Brad House <bhouse@nexthop.ai>
0 commit comments