Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(oracle): fix subnet selection logic
When a subnet is not associated with an availability domain (AD), we should not ignore the subnet just because it does not match our configured AD. This change fixes the subnet selection logic to first check if the subnet is associated with an AD before checking if it matches the configured AD. Before this change, the subnet selection logic was flawed and would say it was using a certain subnet, but due to this bad AD logic, it would actually not actually use the subnet it said it was using.
- Loading branch information