Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcnm_vrf: to_bool() fix to return correct value, or call fail_json()
The initial implementation would return True for e.g. "false" since bool(non-null-string) is always True. 1. Modify to explicitly compare against known boolean-like strings i.e. "false", "False", "true", and "True". 2. Add the caller to the error message for better debugging ability in the future.
- Loading branch information