mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-18 17:05:13 +00:00
`ArgValidatorNum` would normalize boolean into int when `self.numeric_type` is int, then `self.numeric_type(False)` is 0 and `self.numeric_type(True)` is 1. Therefore, we need to fix `ArgValidatorNum()` to reject boolean values when integer values are expected for the setting. This bug fix potentially breaks previously "working" playbooks (but realistically, they were not working, because setting 0 or 1 was unlikely intended). Signed-off-by: Wen Liang <liangwen12year@gmail.com> |
||
|---|---|---|
| .. | ||
| network_lsr | ||