You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments