Merge ~steverydz/maas:compose-machine-validation into maas:master
Proposed by
Steve Rydz
Status: | Merged |
---|---|
Approved by: | Steve Rydz |
Approved revision: | f11399726d29af5b3b68926361a529801dd21056 |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~steverydz/maas:compose-machine-validation |
Merge into: | maas:master |
Diff against target: |
95 lines (+23/-10) 2 files modified
src/maasserver/static/js/angular/controllers/pod_details.js (+17/-9) src/maasserver/static/partials/pod-details.html (+6/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Caleb Ellis (community) | Approve | ||
Review via email: mp+367057@code.launchpad.net |
Commit message
LP: #1823265 - Disable compose button if hostname contains underscore
Description of the change
Done
- Disabled "Compose" button if "Host name" contains an underscore
- Some minor eslint fixes
QA steps:
- Go to a POD detail page
- Select "Compose" from the "Take action" button
- Type in a "Host name" with an underscore in it
- See that the "Compose" button is disabled
- Remove the underscore from the "Host name"
- See that the "Compose" button is now enabled
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
LGTM!