Skip to content

Fix os_group unset errors#14238

Merged
murrant merged 1 commit intolibrenms:masterfrom
murrant:fix-os_group_unset
Aug 24, 2022
Merged

Fix os_group unset errors#14238
murrant merged 1 commit intolibrenms:masterfrom
murrant:fix-os_group_unset

Conversation

@murrant
Copy link
Copy Markdown
Member

@murrant murrant commented Aug 24, 2022

Instead of requiring an isset check for os_group, just set it, but to null
valid isset checks will still work right since it is now set to null.

Please give a short description what your pull request is for

DO NOT DELETE THE UNDERLYING TEXT

Please note

Please read this information carefully. You can run ./lnms dev:check to check your code before submitting.

  • Have you followed our code guidelines?
  • If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.
  • If my Pull Request makes discovery/polling/yaml changes, I have added/updated test data.

Testers

If you would like to test this pull request then please run: ./scripts/github-apply <pr_id>, i.e ./scripts/github-apply 5926
After you are done testing, you can remove the changes with ./scripts/github-remove. If there are schema changes, you can ask on discord how to revert.

Instead of requiring an isset check for os_group, just set it, but to null
valid isset checks will still work right since it is now set to null.
@murrant murrant merged commit db54161 into librenms:master Aug 24, 2022
@murrant murrant deleted the fix-os_group_unset branch August 24, 2022 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants