-
Notifications
You must be signed in to change notification settings - Fork 166
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
Add proxy options to templates_import module #1795
base: develop
Are you sure you want to change the base?
Conversation
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.
You don't have to pass IDs around, our abstraction layer can resolve entities for you :)
I've proposed changes (untested) that should do exactly that, treat "http_proxy" as an entity, and look it up via the API if passed.
the diff looks good to me! |
Hey @evgeni , I tried the patch but it does not seem to work:
The http proxy id param did not get passed to the API. Any idea what could be the issue? |
🤦 nevermind I forgot to update my test file. Yeah it works as intended so now I just wait for linked PR to get merged before I mark this ready for merge.
|
Phew. Your PR to templates looks correct, and the same lookup works in many other places, so it would be very weird if it wouldn't work here. |
2fb5d7a
to
113405b
Compare
113405b
to
26aa2af
Compare
relates to theforeman/foreman_templates#191.