Upgrade to ooni/probe-engine@v0.1.1 (#60)

This commit is contained in:
Simone Basso 2019-10-03 09:43:25 +02:00 committed by GitHub
commit f3865d2ec0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 103 additions and 35 deletions

View file

@ -11,7 +11,7 @@ import (
)
// Cmd is the root command
var Cmd = kingpin.New("ooni", "")
var Cmd = kingpin.New("ooniprobe", "")
// Command is syntax sugar for defining sub-commands
var Command = Cmd.Command

View file

@ -89,7 +89,7 @@ func init() {
log.WithError(err).Error("Failed to lookup the location of the probe")
return err
}
network, err = database.CreateNetwork(ctx.DB, ctx.Session.Location)
network, err = database.CreateNetwork(ctx.DB, ctx.Session)
if err != nil {
log.WithError(err).Error("Failed to create the network row")
return err