Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build DNS changes with HashMap instead of Builder
The existing CloudDnsWriter code uses ImmutableMap.Builder to construct the map of DNS records to update. This has been seen to fail on alpha, presumably in a cases where host records and domain records produce duplicate updates for a host. Convert the Builder to a HashMap, allowing us to safely overwrite existing records in the case of duplicates. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170103421
- Loading branch information
Showing
2 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters