Making it not crash on Windows
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
b413f33b99
commit
3d8e37cf9d
8 changed files with 146 additions and 101 deletions
|
@ -11,7 +11,8 @@ import (
|
|||
// Linux implementation. @crosbymichael - Help needed.
|
||||
|
||||
func NewMonitor() (*Monitor, error) {
|
||||
return nil, errors.New("NewMonitor not implemented on Windows")
|
||||
// During Windows bring-up, don't error out other binary bombs immediately.
|
||||
return &Monitor{}, nil
|
||||
}
|
||||
|
||||
type Monitor struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue