Skip to content

Commit

Permalink
Debug (#268)
Browse files Browse the repository at this point in the history
Fix go-ps race condition
  • Loading branch information
aelsabbahy authored Jul 21, 2017
1 parent fa2ad10 commit 165fc70
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import:
- generic
- package: github.com/urfave/cli
- package: github.com/fatih/color
- package: github.com/mitchellh/go-ps
- package: github.com/aelsabbahy/go-ps
version: unix_race_condition
- package: github.com/oleiade/reflections
- package: github.com/onsi/gomega
subpackages:
Expand Down
2 changes: 1 addition & 1 deletion system/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"os"

"github.com/aelsabbahy/go-ps"
"github.com/aelsabbahy/goss/util"
"github.com/mitchellh/go-ps"
)

type Process interface {
Expand Down
2 changes: 1 addition & 1 deletion system/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

"github.com/aelsabbahy/GOnetstat"
// This needs a better name
"github.com/aelsabbahy/go-ps"
util2 "github.com/aelsabbahy/goss/util"
"github.com/mitchellh/go-ps"
"github.com/urfave/cli"
)

Expand Down

0 comments on commit 165fc70

Please sign in to comment.