diff --git a/Gopkg.lock b/Gopkg.lock index 0f7cedb..7209571 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -4,8 +4,8 @@ [[projects]] name = "github.com/CyCoreSystems/gami" packages = ["."] - revision = "2dd9d4eb6f60500c1afafa33fbf0f0e3960ae1a1" - version = "v0.2.0" + revision = "45155ccd626a451cd300a0fb443277318c5688dc" + version = "v0.3.0" [[projects]] name = "github.com/CyCoreSystems/netdiscover" @@ -82,6 +82,6 @@ [solve-meta] analyzer-name = "dep" analyzer-version = 1 - inputs-digest = "20c672a0278b82ebfb512388edff26649a8137894fb142a545eb8bb07730e07c" + inputs-digest = "8498385c7216babfd8ccab75aeece3cf4802198b0051dcff9aa9f48f52e47152" solver-name = "gps-cdcl" solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml index 4565b6c..dbff68c 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -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" diff --git a/main.go b/main.go index ba5f2f9..202f17f 100644 --- a/main.go +++ b/main.go @@ -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()