mirror of
https://github.com/containers/podman.git
synced 2025-06-28 06:18:57 +08:00
Show variant and codename of the distribution
Along with the name (id) and the version(_id) But only show the information if is available Examples: Fedora CoreOS, Ubuntu Focal [NO TESTS NEEDED] Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
This commit is contained in:
@ -78,7 +78,9 @@ type IDMappings struct {
|
||||
// for libpod
|
||||
type DistributionInfo struct {
|
||||
Distribution string `json:"distribution"`
|
||||
Variant string `json:"variant,omitempty"`
|
||||
Version string `json:"version"`
|
||||
Codename string `json:"codename,omitempty"`
|
||||
}
|
||||
|
||||
// ConmonInfo describes the conmon executable being used
|
||||
|
Reference in New Issue
Block a user