Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

settings: gracefully handle the case with empty settings #415

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

mniestroj
Copy link
Collaborator

When there are no settings, then Golioth cloud sends "settings" map entry with 'null' (primitive 22) as value. Handle that by explicitly.

When there are no settings, then Golioth cloud sends "settings" map entry
with 'null' (primitive 22) as value. Handle that by explicitly.

Signed-off-by: Marcin Niestroj <[email protected]>
@github-actions
Copy link

Visit the preview URL for this PR (updated for commit fbd01e1):

https://golioth-zephyr-sdk-doxygen-dev--pr415-settings-handle-wgan976a.web.app

(expires Wed, 02 Aug 2023 11:19:42 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a389eefadf4b4b68a539327b3459dd66c142cf49

@mniestroj mniestroj merged commit e196bb9 into main Jul 26, 2023
8 checks passed
@mniestroj mniestroj deleted the settings-handle-null branch July 26, 2023 16:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants