mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Fix Windows build
Code referenced Debugf which is not available in this package
This commit is contained in:
@@ -79,7 +79,7 @@ func getStatsForProcess(name string, pcpu *float64, rss, vss *int64, pid *int) (
|
||||
return nil
|
||||
} else {
|
||||
// something went wrong executing the command
|
||||
Debugf("exec failure: %s\n", string(out))
|
||||
// Debugf("exec failure: %s\n", string(out))
|
||||
return errors.New(fmt.Sprintf("typeperf failed: %v", err))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user