-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid v1.Manifest in crane edit config (#1583)
Because of how omitempty works, an empty Layers and a nil Layers will both be omitted. We don't want that, because different registries support different variants of that. Instead, we just pass through whatever was there before by treating the manifest as a map[string]any and manipulating that rather than using v1.Manifest-based helpers.
- Loading branch information
1 parent
1cfe1fc
commit 4b081f8
Showing
1 changed file
with
32 additions
and
8 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