-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hawkbit-client: drop action ID URL regex matching in process_deployme…
…nt() It is neither required nor a good idea to get the action ID from an URL. It is also a bad idea to rely on the "c" GET parameter in deployment base links. This is an implementation detail which can change any time in hawkBit. It is not part of the DDI API, rather an artifact from an example in the API's documentation. So simply use the action ID from the deployment JSON response and drop all corresponding regex matching code. Signed-off-by: Bastian Krause <bst@pengutronix.de>
- Loading branch information
1 parent
cbafe65
commit 8624e71
Showing
1 changed file
with
9 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters