Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IcingaDB: handle null (Empty) for value/set_if/separator in command arguments #9398

Merged
merged 1 commit into from
Jun 23, 2022

Commits on Jun 14, 2022

  1. IcingaDB: handle null (Empty) for value/set_if/separator in command a…

    …rguments
    
    Icinga 2 treats null (Empty) as if the corresponding attribute is not
    specified. However, without this commit, it would serialize the value as "null"
    (i.e. type string), so that it ends up in the database as this string instead
    of NULL. This commit adds handling for ValueEmpty so that is serialized as JSON
    null value and ends up in the database as NULL.
    julianbrost committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    46c33be View commit details
    Browse the repository at this point in the history