[Network] Make DNS Zone record imports relative#2825
[Network] Make DNS Zone record imports relative#2825tjprescott merged 2 commits intoAzure:masterfrom tjprescott:FixDnsZoneImport
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2825 +/- ##
==========================================
- Coverage 62.88% 62.88% -0.01%
==========================================
Files 464 464
Lines 25884 25890 +6
Branches 3942 3944 +2
==========================================
+ Hits 16278 16281 +3
- Misses 8588 8590 +2
- Partials 1018 1019 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Noooooooooooooooooo!
There was a problem hiding this comment.
what's -(len(origin) + 2) for?
There was a problem hiding this comment.
Part of the workaround to strip the origin back off of the name. The old implementation was to use absolute names. If/when the service fixes itself to allow this, I will just remove this workaround and import all records as absolute references (which the DNS import spec says it should support).
Fixes #2752. Note that issue #2824 remains and can only be addressed by a service side fix.
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Command Guidelines
Each new command has a test.(see Authoring Command Modules)