Skip to content

Commit

Permalink
Adding windows to exemption
Browse files Browse the repository at this point in the history
  • Loading branch information
deven96 committed Nov 8, 2022
1 parent 8dbd030 commit 285ff41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inspector/uptime.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 285ff41

Please sign in to comment.