Merge ~steverydz/maas:ipmi-disabled-form into maas:master
Proposed by
Steve Rydz
Status: | Merged |
---|---|
Approved by: | Steve Rydz |
Approved revision: | cad0ed550ea86606a7bf78b8e57be566760509d2 |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~steverydz/maas:ipmi-disabled-form |
Merge into: | maas:master |
Diff against target: |
43 lines (+18/-0) 2 files modified
src/maasserver/static/js/angular/controllers/node_details.js (+7/-0) src/maasserver/static/js/angular/controllers/tests/test_node_details.js (+11/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Caleb Ellis (community) | Approve | ||
MAAS Lander | Approve | ||
Review via email: mp+371339@code.launchpad.net |
Commit message
LP: #1837210 - Fix machine config form diabled if no mac address
Description of the change
Done:
- Add an array of optional keys
- Check if key is in optional keys and return true if that's the case
QA:
- Go to a machine that has a power type of IPMI (tested on karura)
- In the configuration tab edit the power configuration form
- Remove the value from the Power MAC field
- See that you are able to save the form
To post a comment you must log in.
UNIT TESTS
-b ipmi-disabled-form lp:~steverydz/maas/+git/maas into -b master lp:~maas-committers/maas
STATUS: SUCCESS 6a7bf78b8e57be5 66760509d2
COMMIT: cad0ed550ea8660