summaryrefslogtreecommitdiff
path: root/libpod/define
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-15 06:25:00 -0400
committerGitHub <noreply@github.com>2021-09-15 06:25:00 -0400
commit4dd7bfdfaa3adf95af39fd45f74d49cea0c80064 (patch)
treefb5ee1ff8173f95d11aff3c6be643ed467826cad /libpod/define
parent10873c6f494fbc7a43365000f6f9702c21741077 (diff)
parent38c5f6721f9aa2dc2aea751c2e22afd4d9e370b5 (diff)
downloadpodman-4dd7bfdfaa3adf95af39fd45f74d49cea0c80064.tar.gz
podman-4dd7bfdfaa3adf95af39fd45f74d49cea0c80064.tar.bz2
podman-4dd7bfdfaa3adf95af39fd45f74d49cea0c80064.zip
Merge pull request #11556 from afbjorklund/distribution-info
Show variant and codename of the distribution
Diffstat (limited to 'libpod/define')
-rw-r--r--libpod/define/info.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/define/info.go b/libpod/define/info.go
index 73df80087..f4aa0031c 100644
--- a/libpod/define/info.go
+++ b/libpod/define/info.go
@@ -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