Skip to content
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

Rename salt/utils/docker/ to salt/utils/dockermod/ #56857

Merged
merged 2 commits into from
Apr 23, 2020

Conversation

terminalmage
Copy link
Contributor

What does this PR do?

This avoids a module shadowing problem during the loading of the utils modules, where import docker imports salt.utils.docker instead.

What issues does this PR fix or reference?

Fixes #56669.

Previous Behavior

It was impossible to use the docker module in the same salt run as the docker python package was installed.

New Behavior

It is now possible.

Merge requirements satisfied?

  • Docs
  • Changelog
  • Tests written/updated

Commits signed with GPG?

No

This avoids a module shadowing problem during the loading of the `utils`
modules, where `import docker` imports `salt.utils.docker` instead.
@terminalmage terminalmage requested a review from a team as a code owner April 22, 2020 23:41
@ghost ghost requested review from cmcmarrow and removed request for a team April 22, 2020 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ZRelease-Sodium retired label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Can't install docker python package and use docker module in the same state.
3 participants