-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: patching ContainerImage to add repositories
This is a followup of what was done in #303 Most notably: - rename the image_already_exists to find_image to reflect what it does - it used to return bool, now it returns the image if found. - only include the repositories field in the patch payload - for consistency, create the same two repo entries when adding a new repository like we do when creating a brand new image Signed-off-by: Martin Malina <[email protected]>
- Loading branch information
Showing
2 changed files
with
71 additions
and
70 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