-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
[docker_network][docker_container] Shared code should be moved to docker_common.py #49564
Labels
affects_2.8
This issue/PR affects Ansible v2.8
cloud
docker
feature
This issue/PR relates to a feature request.
module
This issue/PR relates to a module.
support:community
This issue/PR relates to code supported by the Ansible community.
Comments
Let's do this (and the other issue) once #49562 is merged. Do you want to work on it, or should I do that? (Or anyone else is interested?) Whatever you prefer :) |
ansibot
added
affects_2.8
This issue/PR affects Ansible v2.8
cloud
docker
feature
This issue/PR relates to a feature request.
module
This issue/PR relates to a module.
support:community
This issue/PR relates to code supported by the Ansible community.
labels
Dec 5, 2018
StephenSorriaux
pushed a commit
to StephenSorriaux/ansible
that referenced
this issue
Dec 12, 2018
* [docker] Consolidating Python Boolean conversion for Docker API (ansible#49563) * [docker] Consolidating docker option min version checks (ansible#49564) * [docker] Moving option min version checks out of docker_swarm (ansible#49564) Also renaming Boolean cleanup function and fixing docker_container minimum version check for network interfaces. * Cleanup from PR feedback
This has been "fixed" by #49707 as well, right? |
resolved_by_pr 49707 |
Sometimes, all that is needed is a simple: close_me ;-) |
(let's hope it actually works...) |
abadger
pushed a commit
that referenced
this issue
Jan 7, 2019
* [docker] Consolidating Python Boolean conversion for Docker API (#49563) * [docker] Consolidating docker option min version checks (#49564) * [docker] Moving option min version checks out of docker_swarm (#49564) Also renaming Boolean cleanup function and fixing docker_container minimum version check for network interfaces. * Cleanup from PR feedback
kbreit
pushed a commit
to kbreit/ansible
that referenced
this issue
Jan 11, 2019
* [docker] Consolidating Python Boolean conversion for Docker API (ansible#49563) * [docker] Consolidating docker option min version checks (ansible#49564) * [docker] Moving option min version checks out of docker_swarm (ansible#49564) Also renaming Boolean cleanup function and fixing docker_container minimum version check for network interfaces. * Cleanup from PR feedback
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.8
This issue/PR affects Ansible v2.8
cloud
docker
feature
This issue/PR relates to a feature request.
module
This issue/PR relates to a module.
support:community
This issue/PR relates to code supported by the Ansible community.
SUMMARY
docker_network.py
anddocker_container.py
share a block of code related to handling minimum docker-py and docker API versions above the minimum versions required by the modules. Seeing as this code is duplicated, it should be consolidated indocker_common.py
.ISSUE TYPE
COMPONENT NAME
docker_network
docker_container
docker_common
ADDITIONAL INFORMATION
This code will need to be modified to support configurable passed-in internal (i.e. ignored) options and option minimum versions. docker_network and docker_container will need to be updated to take advantage of this consolidated functionality as well.
This is part of ansible/community#408 and is referenced in a TODO in #49562
The text was updated successfully, but these errors were encountered: