Closed sni closed 1 month ago
currently naemon silently ignores invalid bool values. For ex.:
register_object yes
does not result in an error but the int value of "yes" is still 0, so the object won't be registered.
This change adds boolean validation and prints out an error in case the value is not either 0 or 1.
obsolete by #479
currently naemon silently ignores invalid bool values. For ex.:
does not result in an error but the int value of "yes" is still 0, so the object won't be registered.
This change adds boolean validation and prints out an error in case the value is not either 0 or 1.