-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(repositories): Handle download_concurrency missing API return val…
…ue (#177) Commit introduces multiple fixes to handle the missing "download_concurrency" parameter in Katello API responses. The func handleDownloadConcurrencyBetweenTerraformAndKatello basically compares the API response with the state, so if the API did not return the value, but we know the value from the Terraform state, we can override this value in the repository struct. Also adds validation and a fix for the ContentViewFilter query, which seems to have been missed in previous test runs. Resolves #161 Signed-off-by: Dominik Pataky <[email protected]> Co-authored-by: Lennart Weller <[email protected]>
- Loading branch information
Showing
3 changed files
with
102 additions
and
18 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
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
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