Skip to content

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

Merged
dwoz merged 2 commits intosaltstack:masterfrom
terminalmage:issue56669
Apr 23, 2020
Merged

Rename salt/utils/docker/ to salt/utils/dockermod/#56857
dwoz merged 2 commits intosaltstack:masterfrom
terminalmage:issue56669

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