Merge ~mpontillo/maas:fix-srv-record-validation--bug-1782409 into maas:master
Proposed by
Mike Pontillo
Status: | Merged |
---|---|
Approved by: | Mike Pontillo |
Approved revision: | 96677360a86c518136bf2366ef22c2403ad47195 |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~mpontillo/maas:fix-srv-record-validation--bug-1782409 |
Merge into: | maas:master |
Diff against target: |
30 lines (+5/-1) 2 files modified
src/maasserver/models/dnsdata.py (+1/-1) src/maasserver/models/tests/test_dnsdata.py (+4/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alberto Donato (community) | Approve | ||
MAAS Lander | Approve | ||
Review via email: mp+354366@code.launchpad.net |
Commit message
LP: #1782409 - Fix bad error message when adding a malformed SRV record.
To post a comment you must log in.
For some reason the code was pulling the srv_host out of the regular expression before validating that the regular expression matched at all - oops. ;-)