-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow developers to override the GetLocalUnitsStep's available_units.
Some types are a mixture of Units and Metadata, and need to be treated separately. The GetLocalUnitsStep did not allow developers to specify what data structure would contain the iterable of available Units. This commit adds the ability for developers to give a pointer to that data structure while maintaining the previous behavior if it is not specified for backwards compatibility. This is needed for the Docker plugin Mongoengine conversion as it reduces the number of steps that are needed in its importer's code. https://pulp.plan.io/issues/863 re #863
- Loading branch information
Randy Barlow
committed
Nov 30, 2015
1 parent
28c3cf5
commit 89b8935
Showing
2 changed files
with
69 additions
and
11 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