Skip to content

Commit

Permalink
Fix logic error for net monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulou committed Jan 15, 2016
1 parent e398663 commit 1e0600f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v0.3.4

* Fix logic in net monitoring

## v0.3.3

* Let user disable Net monitoring
Expand Down
2 changes: 1 addition & 1 deletion server/acadock_monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func main() {
doProfile := flag.Bool("profile", false, "profile app")
flag.Parse()
go cpu.Monitor()
if os.Getenv("NET_MONITORING") == "false" {
if os.Getenv("NET_MONITORING") != "false" {
go net.Monitor("eth0")
}

Expand Down

0 comments on commit 1e0600f

Please sign in to comment.