| commit | 221c90c39a5cbd4ed71211b47af80f967c4575c3 | [log] [tgz] |
|---|---|---|
| author | Matthew Barth <msbarth@us.ibm.com> | Fri Feb 15 10:35:50 2019 -0600 |
| committer | Matthew Barth <msbarth@us.ibm.com> | Mon Feb 18 09:46:13 2019 -0600 |
| tree | 9a72cebb02a82f89ccabe0ab9785d2fd56bb6e22 | |
| parent | a2bed6ed873b18cd150d3e26845391df03649a78 [diff] |
Verify mode provided is supported
Before updating the current mode, verify that the mode provided by the
end-user is in the list of modes that are supported.
Tested:
Only supported modes can be set as the current mode
Change-Id: Ie21839b6bf7245756fedf417e143c28bc9da32f1
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>