-
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.
Fix oci-spec update outputs pretty manifests
With oci-spec 0.6.6 [#166](youki-dev/oci-spec-rs#166) the `to_string()` method started to return the blanket impl of `ToString` due to the `Display` Trait being added. I'm not entirely sure why I got the display trait instead of the `to_string()` implemented on `ImageManifest`, in the rust playground I'm unable to reproduce it. Instead I now call serde_json directly so I don't have to rely on whatever oci-spec implements as the serialization.
- Loading branch information
1 parent
92508d5
commit 4716329
Showing
3 changed files
with
5 additions
and
3 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
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