forked from osbuild/images
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reporegistry: export ReposByImageTypeName instead of ReposByImageType
Let's export ReposByImageTypeName(), which accepts distro, arch and image type names as strings, instead of just `distro.ImageType`. This has the advantage, that the caller may actually use a distro name alias to get repositories, instead of the actual distro name that the image type is associated with. The ReposByImageType() is removed in favor of ReposByImageTypeName(). Signed-off-by: Tomáš Hozza <[email protected]>
- Loading branch information
1 parent
8c10f3d
commit f8b7d00
Showing
2 changed files
with
5 additions
and
45 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