From 1ffcc4a8883b099e379a60c367e8a662c0e2c782 Mon Sep 17 00:00:00 2001 From: John Matthews Date: Tue, 29 Mar 2022 17:37:27 -0400 Subject: Add 'Os' to be queried via 'version' output Signed-off-by: John Matthews --- pkg/bindings/system/system.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/bindings') 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 { -- cgit v1.2.3-54-g00ecf