commit | 17fcb4d96a5d0ce0b61766ae7fd0578b7611cdce | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Tue Jun 30 18:12:53 2020 +0800 |
committer | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | Wed Jul 08 07:21:37 2020 +0000 |
tree | 57b6089274a321a5a33e88bab7f6cd10b017cd51 | |
parent | 937a0bde18d6721eafe29b42bcde330d2a311f08 [diff] |
Validate the priority of an LED is same Need to make sure that the priority of a particular LED is the same across all groups, it needs to throw the std::runtime_error if not the same. Tested: Manually changed the JSON file to have priority of a particular LED different across groups and saw ledManager throw a runtime exception and failed to run. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I9d3e788dd86defb9a781dc958976b51ec7d3fd19