Skip to content

Commit

Permalink
import newer gami
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulexus committed Jun 26, 2018
1 parent dd3d3c6 commit 90befc5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Gopkg.lock

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

4 changes: 4 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
# unused-packages = true


[[constraint]]
name = "github.com/CyCoreSystems/gami"
version = "0.3.0"

[[constraint]]
name = "github.com/CyCoreSystems/netdiscover"
version = "1.2.3"
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func reload(username, secret, modules string) error {

ami, err := gami.Dial("127.0.0.1:5038")
if err != nil {
return err
return errors.Wrap(err, "failed to dial AMI")
}

ami.Run()
Expand Down

0 comments on commit 90befc5

Please sign in to comment.