From 285ff414efacac646904c95e2ba2864c4a22199f Mon Sep 17 00:00:00 2001 From: Diretnan Domnan Date: Tue, 8 Nov 2022 23:53:37 +0100 Subject: [PATCH] Adding windows to exemption --- inspector/uptime.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inspector/uptime.go b/inspector/uptime.go index c3050a5..6f6e954 100644 --- a/inspector/uptime.go +++ b/inspector/uptime.go @@ -183,7 +183,7 @@ func NewUptime(driver *driver.Driver, _ ...string) (Inspector, error) { var uptime Inspector details := (*driver).GetDetails() if !(details.IsDarwin || details.IsLinux || details.IsWindows) { - return nil, errors.New("Cannot use Uptime on drivers outside (linux, darwin)") + return nil, errors.New("Cannot use Uptime on drivers outside (linux, darwin, windows)") } if details.IsLinux { uptime = &UptimeLinux{