From 53b238bf9589fb717b99f167b777f1a18fe25aa5 Mon Sep 17 00:00:00 2001 From: Alex Luong Date: Thu, 8 Aug 2024 22:41:34 +0700 Subject: [PATCH] fix: Useragent package build issue for windows --- internal/sdkclient/uname_windows.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 internal/sdkclient/uname_windows.go diff --git a/internal/sdkclient/uname_windows.go b/internal/sdkclient/uname_windows.go new file mode 100644 index 0000000..667405a --- /dev/null +++ b/internal/sdkclient/uname_windows.go @@ -0,0 +1,10 @@ +//go:build windows +// +build windows + +package sdkclient + +func getUname() string { + // TODO: if there is appetite for it in the community + // add support for Windows GetSystemInfo + return "" +}