-
Notifications
You must be signed in to change notification settings - Fork 3k
Do not provide a default Pelion host address. #9635
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
Conversation
@bridadan, thank you for your changes. |
@ARMmbed/mbed-os-maintainers I'm reevaluating the use of the environment variables here, can you please hold off on CI and merging this for now? |
This moves the default pelion host address to be assigned by the cloud sdk. It also cleans up the logic a bit to be shorter.
2e1d751
to
3ff0ca4
Compare
Ok I'm happy with this now. Now we let the Cloud SDK library handle all of the environment variables. If we catch an exception when passing the config to the Cloud SDK, it means and API key wasn't supplied, so we catch the original exception and make the message a bit clearer with a call to action ( @aashishc1988 could you review this change? It's a follow up to your PR here: ARMmbed/mbed-cli#838 This should fix #8144 as well as IOTCORE-867. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
CI started while we wait on the primarily requested reviewer. |
Test run: SUCCESSSummary: 12 of 12 test jobs passed |
Description
This moves the default pelion host address to be assigned by the cloud
sdk. It also cleans up the logic a bit to be shorter.
This pairs with ARMmbed/mbed-cli#840, though they aren't dependent on one other.
Pull request type
Reviewers
@theotherjimmy