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
When adding the source parameter to a check, then removing it later, the source parameter hangs around in the JSON
I expected when refreshing the JSON on the check after removing the source parameter, the source parameter remained. In order to fix this, I had to remove the check entirely
If you need to purge properties by default, we can change the default values in manifests/check.pp from undef to 'absent'. Then a property removed from sensu::check declaration would be also removed from JSON file.
Description of problem
When adding the source parameter to a check, then removing it later, the source parameter hangs around in the JSON
I expected when refreshing the JSON on the check after removing the source parameter, the source parameter remained. In order to fix this, I had to remove the check entirely
To reproduce, simply define a check:
Then update it to remove the source parameter:
Platform and version information
The text was updated successfully, but these errors were encountered: