summaryrefslogtreecommitdiff
path: root/pkg/bindings/system/system.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-30 07:51:04 -0400
committerGitHub <noreply@github.com>2022-03-30 07:51:04 -0400
commitff8834f0232f128b781ec23d66a5676da0670847 (patch)
treef1eb220cec7cabace6b348a6c1eedede85056c95 /pkg/bindings/system/system.go
parentd0d805ba1bd19025080ea47bb07e653505fe85e2 (diff)
parent1ffcc4a8883b099e379a60c367e8a662c0e2c782 (diff)
downloadpodman-ff8834f0232f128b781ec23d66a5676da0670847.tar.gz
podman-ff8834f0232f128b781ec23d66a5676da0670847.tar.bz2
podman-ff8834f0232f128b781ec23d66a5676da0670847.zip
Merge pull request #13705 from jwmatthews/issue13690
Add 'Os' to be queried via 'version' output
Diffstat (limited to 'pkg/bindings/system/system.go')
-rw-r--r--pkg/bindings/system/system.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/bindings/system/system.go b/pkg/bindings/system/system.go
index 1eb90ab54..5ef78e444 100644
--- a/pkg/bindings/system/system.go
+++ b/pkg/bindings/system/system.go
@@ -120,6 +120,7 @@ func Version(ctx context.Context, options *VersionOptions) (*entities.SystemVers
BuiltTime: time.Unix(b.Unix(), 0).Format(time.ANSIC),
Built: b.Unix(),
OsArch: fmt.Sprintf("%s/%s", component.Os, component.Arch),
+ Os: component.Os,
}
for _, c := range component.Components {