-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding retries for CreateOrUpdateEdgeDeploymentService * Using for loop for the retries The logging needs to be cleaned up * Adding case statement for CreateOrUpdateEdgeDeploymentService Created new function `sc.doRequestDetailed` to return the response object and err. Needs some cleanup of the comments. * Removed logging outputs and added case switch for 401 response code. * Removing unused "err" variable to pass static checks * matching Go style Co-authored-by: shawnps <[email protected]> * Renamed "sleepTime" var * Refactored doRequest to utilize doRequestDetailed * Change the sleeptime to be fixed 15 seconds instead of progressive. Look for Retry-After response header on 404 responses before restarting * Revert calling doRequestDetailed to doRequest as it's unnecessary for this specific call --------- Co-authored-by: shawnps <[email protected]> Co-authored-by: Vladimir Vuksan <[email protected]>
- Loading branch information
1 parent
ca07994
commit 973b55a
Showing
1 changed file
with
65 additions
and
29 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